Changes in zephyr.c [e440602:c79a047]
Legend:
- Unmodified
- Added
- Removed
-
zephyr.c
re440602 rc79a047 15 15 } owl_sub_list; 16 16 17 Code_t ZResetAuthentication( );17 Code_t ZResetAuthentication(void); 18 18 #endif 19 19 … … 21 21 22 22 #ifdef HAVE_LIBZEPHYR 23 void owl_zephyr_initialize( )23 void owl_zephyr_initialize(void) 24 24 { 25 25 int ret; … … 127 127 } 128 128 129 void owl_zephyr_load_initial_subs( ) {129 void owl_zephyr_load_initial_subs(void) { 130 130 int ret_sd, ret_bd, ret_u; 131 131 … … 154 154 } 155 155 #else 156 void owl_zephyr_initialize( )157 { 158 } 159 #endif 160 161 162 int owl_zephyr_shutdown( )156 void owl_zephyr_initialize(void) 157 { 158 } 159 #endif 160 161 162 int owl_zephyr_shutdown(void) 163 163 { 164 164 #ifdef HAVE_LIBZEPHYR … … 171 171 } 172 172 173 int owl_zephyr_zpending( )173 int owl_zephyr_zpending(void) 174 174 { 175 175 #ifdef HAVE_LIBZEPHYR … … 183 183 } 184 184 185 const char *owl_zephyr_get_realm( )185 const char *owl_zephyr_get_realm(void) 186 186 { 187 187 #ifdef HAVE_LIBZEPHYR … … 192 192 } 193 193 194 const char *owl_zephyr_get_sender( )194 const char *owl_zephyr_get_sender(void) 195 195 { 196 196 #ifdef HAVE_LIBZEPHYR … … 316 316 * Return -2 if there is a failure from zephyr to load the subscriptions. 317 317 */ 318 int owl_zephyr_loadbarnowldefaultsubs( )318 int owl_zephyr_loadbarnowldefaultsubs(void) 319 319 { 320 320 #ifdef HAVE_LIBZEPHYR … … 340 340 } 341 341 342 int owl_zephyr_loaddefaultsubs( )342 int owl_zephyr_loaddefaultsubs(void) 343 343 { 344 344 #ifdef HAVE_LIBZEPHYR … … 415 415 } 416 416 417 void unsuball( )417 void unsuball(void) 418 418 { 419 419 #if HAVE_LIBZEPHYR … … 993 993 #ifdef HAVE_LIBZEPHYR 994 994 char *line, *subsfile; 995 int linesdeleted; 995 996 996 997 line=owl_zephyr_makesubline(class, inst, recip); … … 1003 1004 } 1004 1005 1005 owl_util_file_deleteline(subsfile, line, 1); 1006 linesdeleted = owl_util_file_deleteline(subsfile, line, 1); 1007 if (linesdeleted > 0) { 1008 owl_function_makemsg("Subscription removed"); 1009 } else { 1010 owl_function_error("No subscription present in %s", subsfile); 1011 } 1006 1012 owl_free(subsfile); 1007 1013 owl_free(line); 1008 owl_function_makemsg("Subscription removed");1009 1014 #endif 1010 1015 } … … 1119 1124 * free the return. 1120 1125 */ 1121 char *owl_zephyr_getsubs( )1126 char *owl_zephyr_getsubs(void) 1122 1127 { 1123 1128 #ifdef HAVE_LIBZEPHYR
Note: See TracChangeset
for help on using the changeset viewer.