Changeset c79a047 for message.c


Ignore:
Timestamp:
Sep 28, 2009, 1:14:23 PM (15 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
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)
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
  • message.c

    r24ccc01 rc79a047  
    1414static owl_fmtext_cache * fmtext_cache_next = fmtext_cache;
    1515
    16 void owl_message_init_fmtext_cache ()
     16void owl_message_init_fmtext_cache(void)
    1717{
    1818    int i;
     
    2323}
    2424
    25 owl_fmtext_cache * owl_message_next_fmtext() /*noproto*/
     25owl_fmtext_cache *owl_message_next_fmtext(void) /*noproto*/
    2626{
    2727    owl_fmtext_cache * f = fmtext_cache_next;
Note: See TracChangeset for help on using the changeset viewer.