Changeset c79a047 for util.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
  • util.c

    rda60ba9 rc79a047  
    454454
    455455/* Get the default tty name.  Caller must free the return */
    456 char *owl_util_get_default_tty()
     456char *owl_util_get_default_tty(void)
    457457{
    458458  const char *tmp;
     
    475475
    476476/* Animation hack */
    477 void owl_hack_animate()
     477void owl_hack_animate(void)
    478478{
    479479  const owl_messagelist *ml;
     
    671671}
    672672
    673 const char * owl_get_datadir()
     673const char * owl_get_datadir(void)
    674674{
    675675  const char * datadir = getenv("BARNOWL_DATA_DIR");
Note: See TracChangeset for help on using the changeset viewer.