Changeset c79a047
- Timestamp:
- Sep 28, 2009, 1:14:23 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- de8945b
- Parents:
- 99068d3
- git-author:
- Anders Kaseorg <andersk@mit.edu> (09/27/09 19:29:43)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (09/28/09 13:14:23)
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
aim.c
r36486be rc79a047 230 230 } 231 231 232 void owl_aim_logged_out( )232 void owl_aim_logged_out(void) 233 233 { 234 234 if (owl_global_is_aimloggedin(&g)) owl_function_adminmsg("", "Logged out of AIM"); … … 408 408 } 409 409 410 int owl_aim_process_events( )410 int owl_aim_process_events(void) 411 411 { 412 412 aim_session_t *aimsess; … … 1995 1995 } 1996 1996 1997 void owl_process_aim( )1997 void owl_process_aim(void) 1998 1998 { 1999 1999 if (owl_global_is_doaimevents(&g)) { -
commands.c
re60f98c rc79a047 995 995 }; 996 996 997 void owl_command_info( )997 void owl_command_info(void) 998 998 { 999 999 owl_function_info(); 1000 1000 } 1001 1001 1002 void owl_command_nop( )1002 void owl_command_nop(void) 1003 1003 { 1004 1004 } … … 1048 1048 } 1049 1049 1050 void owl_command_alist( )1050 void owl_command_alist(void) 1051 1051 { 1052 1052 owl_function_buddylist(1, 0, NULL); 1053 1053 } 1054 1054 1055 void owl_command_blist( )1055 void owl_command_blist(void) 1056 1056 { 1057 1057 owl_function_buddylist(1, 1, NULL); 1058 1058 } 1059 1059 1060 void owl_command_toggleoneline( )1060 void owl_command_toggleoneline(void) 1061 1061 { 1062 1062 owl_function_toggleoneline(); 1063 1063 } 1064 1064 1065 void owl_command_about( )1065 void owl_command_about(void) 1066 1066 { 1067 1067 owl_function_about(); 1068 1068 } 1069 1069 1070 void owl_command_version( )1070 void owl_command_version(void) 1071 1071 { 1072 1072 owl_function_makemsg("BarnOwl version %s", OWL_VERSION_STRING); … … 1319 1319 } 1320 1320 1321 void owl_command_expunge( )1321 void owl_command_expunge(void) 1322 1322 { 1323 1323 owl_function_expunge(); 1324 1324 } 1325 1325 1326 void owl_command_first( )1326 void owl_command_first(void) 1327 1327 { 1328 1328 owl_global_set_rightshift(&g, 0); … … 1330 1330 } 1331 1331 1332 void owl_command_last( )1332 void owl_command_last(void) 1333 1333 { 1334 1334 owl_function_lastmsg(); 1335 1335 } 1336 1336 1337 void owl_command_resize( )1337 void owl_command_resize(void) 1338 1338 { 1339 1339 owl_function_resize(); 1340 1340 } 1341 1341 1342 void owl_command_redisplay( )1342 void owl_command_redisplay(void) 1343 1343 { 1344 1344 owl_function_full_redisplay(); … … 1346 1346 } 1347 1347 1348 void owl_command_shift_right( )1348 void owl_command_shift_right(void) 1349 1349 { 1350 1350 owl_function_shift_right(); 1351 1351 } 1352 1352 1353 void owl_command_shift_left( )1353 void owl_command_shift_left(void) 1354 1354 { 1355 1355 owl_function_shift_left(); 1356 1356 } 1357 1357 1358 void owl_command_unsuball( )1358 void owl_command_unsuball(void) 1359 1359 { 1360 1360 owl_function_unsuball(); … … 1388 1388 } 1389 1389 1390 void owl_command_suspend( )1390 void owl_command_suspend(void) 1391 1391 { 1392 1392 owl_function_suspend(); … … 1672 1672 } 1673 1673 1674 void owl_command_quit( )1674 void owl_command_quit(void) 1675 1675 { 1676 1676 owl_function_quit(); … … 2311 2311 } 2312 2312 2313 void owl_command_beep( )2313 void owl_command_beep(void) 2314 2314 { 2315 2315 owl_function_beep(); -
fmtext.c
rfb2f9ab rc79a047 830 830 831 831 /* Reset used list */ 832 void owl_fmtext_reset_colorpairs( )832 void owl_fmtext_reset_colorpairs(void) 833 833 { 834 834 if (owl_global_get_hascolors(&g)) { -
functions.c
r27964fe rc79a047 44 44 } 45 45 46 void owl_function_show_commands( )46 void owl_function_show_commands(void) 47 47 { 48 48 owl_list l; … … 78 78 } 79 79 80 void owl_function_show_styles( ) {80 void owl_function_show_styles(void) { 81 81 owl_list l; 82 82 owl_fmtext fm; … … 120 120 } 121 121 122 void owl_function_show_license( )122 void owl_function_show_license(void) 123 123 { 124 124 const char *text; … … 166 166 } 167 167 168 void owl_function_show_quickstart( )168 void owl_function_show_quickstart(void) 169 169 { 170 170 const char *message = … … 357 357 } 358 358 359 void owl_function_loopwrite_setup( )359 void owl_function_loopwrite_setup(void) 360 360 { 361 361 owl_editwin *e; … … 693 693 } 694 694 695 void owl_function_nextmsg( )695 void owl_function_nextmsg(void) 696 696 { 697 697 owl_function_nextmsg_full(NULL, 0, 1); 698 698 } 699 699 700 void owl_function_prevmsg( )700 void owl_function_prevmsg(void) 701 701 { 702 702 owl_function_prevmsg_full(NULL, 0, 1); 703 703 } 704 704 705 void owl_function_nextmsg_notdeleted( )705 void owl_function_nextmsg_notdeleted(void) 706 706 { 707 707 owl_function_nextmsg_full(NULL, 1, 1); 708 708 } 709 709 710 void owl_function_prevmsg_notdeleted( )710 void owl_function_prevmsg_notdeleted(void) 711 711 { 712 712 owl_function_prevmsg_full(NULL, 1, 1); … … 772 772 } 773 773 774 void owl_function_expunge( )774 void owl_function_expunge(void) 775 775 { 776 776 int curmsg; … … 808 808 } 809 809 810 void owl_function_firstmsg( )810 void owl_function_firstmsg(void) 811 811 { 812 812 owl_global_set_curmsg(&g, 0); … … 816 816 } 817 817 818 void owl_function_lastmsg_noredisplay( )818 void owl_function_lastmsg_noredisplay(void) 819 819 { 820 820 int oldcurmsg, curmsg; … … 838 838 } 839 839 840 void owl_function_lastmsg( )840 void owl_function_lastmsg(void) 841 841 { 842 842 owl_function_lastmsg_noredisplay(); … … 844 844 } 845 845 846 void owl_function_shift_right( )846 void owl_function_shift_right(void) 847 847 { 848 848 owl_global_set_rightshift(&g, owl_global_get_rightshift(&g)+10); … … 851 851 } 852 852 853 void owl_function_shift_left( )853 void owl_function_shift_left(void) 854 854 { 855 855 int shift; … … 866 866 } 867 867 868 void owl_function_unsuball( )868 void owl_function_unsuball(void) 869 869 { 870 870 unsuball(); … … 946 946 } 947 947 948 void owl_function_suspend( )948 void owl_function_suspend(void) 949 949 { 950 950 endwin(); … … 956 956 } 957 957 958 void owl_function_zaway_toggle( )958 void owl_function_zaway_toggle(void) 959 959 { 960 960 if (!owl_global_is_zaway(&g)) { … … 966 966 } 967 967 968 void owl_function_zaway_on( )968 void owl_function_zaway_on(void) 969 969 { 970 970 owl_global_set_zaway_on(&g); … … 972 972 } 973 973 974 void owl_function_zaway_off( )974 void owl_function_zaway_off(void) 975 975 { 976 976 owl_global_set_zaway_off(&g); … … 978 978 } 979 979 980 void owl_function_aaway_toggle( )980 void owl_function_aaway_toggle(void) 981 981 { 982 982 if (!owl_global_is_aaway(&g)) { … … 988 988 } 989 989 990 void owl_function_aaway_on( )990 void owl_function_aaway_on(void) 991 991 { 992 992 owl_global_set_aaway_on(&g); … … 995 995 } 996 996 997 void owl_function_aaway_off( )997 void owl_function_aaway_off(void) 998 998 { 999 999 owl_global_set_aaway_off(&g); … … 1002 1002 } 1003 1003 1004 void owl_function_quit( )1004 void owl_function_quit(void) 1005 1005 { 1006 1006 char *ret; … … 1227 1227 } 1228 1228 1229 void owl_function_resize( )1229 void owl_function_resize(void) 1230 1230 { 1231 1231 owl_global_set_resize_pending(&g); 1232 1232 } 1233 1233 1234 void owl_function_run_buffercommand( )1234 void owl_function_run_buffercommand(void) 1235 1235 { 1236 1236 owl_editwin_do_callback(owl_global_get_typwin(&g)); … … 1264 1264 } 1265 1265 1266 void owl_function_beep( )1266 void owl_function_beep(void) 1267 1267 { 1268 1268 if (owl_global_is_bell(&g)) { … … 1302 1302 } 1303 1303 1304 void owl_function_full_redisplay( )1304 void owl_function_full_redisplay(void) 1305 1305 { 1306 1306 redrawwin(owl_global_get_curs_recwin(&g)); … … 1384 1384 } 1385 1385 1386 void owl_function_about( )1386 void owl_function_about(void) 1387 1387 { 1388 1388 owl_function_popless_text( … … 1410 1410 } 1411 1411 1412 void owl_function_info( )1412 void owl_function_info(void) 1413 1413 { 1414 1414 const owl_message *m; … … 1545 1545 * style the user may be using 1546 1546 */ 1547 void owl_function_curmsg_to_popwin( )1547 void owl_function_curmsg_to_popwin(void) 1548 1548 { 1549 1549 const owl_view *v; … … 1628 1628 } 1629 1629 1630 void owl_function_mainwin_pagedown( )1630 void owl_function_mainwin_pagedown(void) 1631 1631 { 1632 1632 int i; … … 1643 1643 } 1644 1644 1645 void owl_function_mainwin_pageup( )1645 void owl_function_mainwin_pageup(void) 1646 1646 { 1647 1647 owl_global_set_curmsg(&g, owl_global_get_topmsg(&g)); … … 1649 1649 } 1650 1650 1651 void owl_function_getsubs( )1651 void owl_function_getsubs(void) 1652 1652 { 1653 1653 char *buff; … … 1664 1664 } 1665 1665 1666 void owl_function_printallvars( )1666 void owl_function_printallvars(void) 1667 1667 { 1668 1668 const char *name; … … 1691 1691 } 1692 1692 1693 void owl_function_show_variables( )1693 void owl_function_show_variables(void) 1694 1694 { 1695 1695 owl_list varnames; … … 1745 1745 } 1746 1746 1747 void owl_function_delete_automsgs( )1747 void owl_function_delete_automsgs(void) 1748 1748 { 1749 1749 /* mark for deletion all messages in the current view that match the … … 1778 1778 } 1779 1779 1780 void owl_function_status( )1780 void owl_function_status(void) 1781 1781 { 1782 1782 char buff[MAXPATHLEN+1]; … … 1858 1858 } 1859 1859 1860 void owl_function_show_term( )1860 void owl_function_show_term(void) 1861 1861 { 1862 1862 owl_fmtext fm; … … 2271 2271 } 2272 2272 2273 void owl_function_show_filters( )2273 void owl_function_show_filters(void) 2274 2274 { 2275 2275 const owl_list *l; … … 2316 2316 } 2317 2317 2318 void owl_function_show_zpunts( )2318 void owl_function_show_zpunts(void) 2319 2319 { 2320 2320 const owl_filter *f; … … 2749 2749 } 2750 2750 2751 void owl_function_show_colors( )2751 void owl_function_show_colors(void) 2752 2752 { 2753 2753 owl_fmtext fm; … … 2899 2899 } 2900 2900 2901 void owl_function_show_keymaps( )2901 void owl_function_show_keymaps(void) 2902 2902 { 2903 2903 owl_list l; … … 3379 3379 } 3380 3380 3381 void owl_function_toggleoneline( )3381 void owl_function_toggleoneline(void) 3382 3382 { 3383 3383 owl_view *v; … … 3438 3438 } 3439 3439 3440 void owl_function_showerrs( )3440 void owl_function_showerrs(void) 3441 3441 { 3442 3442 owl_fmtext fm; … … 3552 3552 } 3553 3553 3554 int owl_function_get_color_count( )3554 int owl_function_get_color_count(void) 3555 3555 { 3556 3556 return COLORS; … … 3579 3579 } 3580 3580 3581 void owl_function_mark_message( )3581 void owl_function_mark_message(void) 3582 3582 { 3583 3583 const owl_message *m; … … 3598 3598 } 3599 3599 3600 void owl_function_swap_cur_marked( )3600 void owl_function_swap_cur_marked(void) 3601 3601 { 3602 3602 int marked_id; -
help.c
re19eb97 rc79a047 2 2 #include <string.h> 3 3 4 void owl_help( )4 void owl_help(void) 5 5 { 6 6 owl_fmtext fm; -
logging.c
re2ebf39 rc79a047 179 179 180 180 /* create a present message so we can pass it to 181 * owl_log_shouldlog_message( )181 * owl_log_shouldlog_message(void) 182 182 */ 183 183 m = owl_malloc(sizeof(owl_message)); -
message.c
r24ccc01 rc79a047 14 14 static owl_fmtext_cache * fmtext_cache_next = fmtext_cache; 15 15 16 void owl_message_init_fmtext_cache ()16 void owl_message_init_fmtext_cache(void) 17 17 { 18 18 int i; … … 23 23 } 24 24 25 owl_fmtext_cache * owl_message_next_fmtext() /*noproto*/25 owl_fmtext_cache *owl_message_next_fmtext(void) /*noproto*/ 26 26 { 27 27 owl_fmtext_cache * f = fmtext_cache_next; -
owl.c
r4e4847c rc79a047 46 46 } owl_options; 47 47 48 void usage( )48 void usage(void) 49 49 { 50 50 fprintf(stderr, "Barnowl version %s\n", OWL_VERSION_STRING); -
select.c
r69f47f8 rc79a047 152 152 } 153 153 154 int owl_select_dispatch_count( )154 int owl_select_dispatch_count(void) 155 155 { 156 156 return owl_list_get_size(owl_global_get_dispatchlist(&g)); … … 215 215 } 216 216 217 void owl_select_gc( )217 void owl_select_gc(void) 218 218 { 219 219 int i; … … 325 325 } 326 326 327 void owl_select_handle_intr( )327 void owl_select_handle_intr(void) 328 328 { 329 329 owl_input in; … … 336 336 } 337 337 338 void owl_select( )338 void owl_select(void) 339 339 { 340 340 int i, max_fd, aim_max_fd, aim_done, ret; -
util.c
rda60ba9 rc79a047 454 454 455 455 /* Get the default tty name. Caller must free the return */ 456 char *owl_util_get_default_tty( )456 char *owl_util_get_default_tty(void) 457 457 { 458 458 const char *tmp; … … 475 475 476 476 /* Animation hack */ 477 void owl_hack_animate( )477 void owl_hack_animate(void) 478 478 { 479 479 const owl_messagelist *ml; … … 671 671 } 672 672 673 const char * owl_get_datadir( )673 const char * owl_get_datadir(void) 674 674 { 675 675 const char * datadir = getenv("BARNOWL_DATA_DIR"); -
zephyr.c
rda60ba9 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 … … 1124 1124 * free the return. 1125 1125 */ 1126 char *owl_zephyr_getsubs( )1126 char *owl_zephyr_getsubs(void) 1127 1127 { 1128 1128 #ifdef HAVE_LIBZEPHYR
Note: See TracChangeset
for help on using the changeset viewer.