Changeset c79a047 for commands.c


Ignore:
Timestamp:
Sep 28, 2009, 1:14:23 PM (12 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, 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)
Message:
Correctly prototype functions with no parameters as foo(void), not foo().

foo() is a deprecated old-style prototype for a function that takes
any arguments.  Specifying foo(void) catches more bugs.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    re60f98c rc79a047  
    995995};
    996996
    997 void owl_command_info()
     997void owl_command_info(void)
    998998{
    999999  owl_function_info();
    10001000}
    10011001
    1002 void owl_command_nop()
     1002void owl_command_nop(void)
    10031003{
    10041004}
     
    10481048}
    10491049
    1050 void owl_command_alist()
     1050void owl_command_alist(void)
    10511051{
    10521052  owl_function_buddylist(1, 0, NULL);
    10531053}
    10541054
    1055 void owl_command_blist()
     1055void owl_command_blist(void)
    10561056{
    10571057  owl_function_buddylist(1, 1, NULL);
    10581058}
    10591059
    1060 void owl_command_toggleoneline()
     1060void owl_command_toggleoneline(void)
    10611061{
    10621062  owl_function_toggleoneline();
    10631063}
    10641064
    1065 void owl_command_about()
     1065void owl_command_about(void)
    10661066{
    10671067  owl_function_about();
    10681068}
    10691069
    1070 void owl_command_version()
     1070void owl_command_version(void)
    10711071{
    10721072  owl_function_makemsg("BarnOwl version %s", OWL_VERSION_STRING);
     
    13191319}
    13201320
    1321 void owl_command_expunge()
     1321void owl_command_expunge(void)
    13221322{
    13231323  owl_function_expunge();
    13241324}
    13251325
    1326 void owl_command_first()
     1326void owl_command_first(void)
    13271327{
    13281328  owl_global_set_rightshift(&g, 0);
     
    13301330}
    13311331
    1332 void owl_command_last()
     1332void owl_command_last(void)
    13331333{
    13341334  owl_function_lastmsg();
    13351335}
    13361336
    1337 void owl_command_resize()
     1337void owl_command_resize(void)
    13381338{
    13391339  owl_function_resize();
    13401340}
    13411341
    1342 void owl_command_redisplay()
     1342void owl_command_redisplay(void)
    13431343{
    13441344  owl_function_full_redisplay();
     
    13461346}
    13471347
    1348 void owl_command_shift_right()
     1348void owl_command_shift_right(void)
    13491349{
    13501350  owl_function_shift_right();
    13511351}
    13521352
    1353 void owl_command_shift_left()
     1353void owl_command_shift_left(void)
    13541354{
    13551355  owl_function_shift_left();
    13561356}
    13571357
    1358 void owl_command_unsuball()
     1358void owl_command_unsuball(void)
    13591359{
    13601360  owl_function_unsuball();
     
    13881388}
    13891389
    1390 void owl_command_suspend()
     1390void owl_command_suspend(void)
    13911391{
    13921392  owl_function_suspend();
     
    16721672}
    16731673
    1674 void owl_command_quit()
     1674void owl_command_quit(void)
    16751675{
    16761676  owl_function_quit();
     
    23112311}
    23122312
    2313 void owl_command_beep()
     2313void owl_command_beep(void)
    23142314{
    23152315  owl_function_beep();
Note: See TracChangeset for help on using the changeset viewer.