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

    r69f47f8 rc79a047  
    152152}
    153153
    154 int owl_select_dispatch_count()
     154int owl_select_dispatch_count(void)
    155155{
    156156  return owl_list_get_size(owl_global_get_dispatchlist(&g));
     
    215215}
    216216
    217 void owl_select_gc()
     217void owl_select_gc(void)
    218218{
    219219  int i;
     
    325325}
    326326
    327 void owl_select_handle_intr()
     327void owl_select_handle_intr(void)
    328328{
    329329  owl_input in;
     
    336336}
    337337
    338 void owl_select()
     338void owl_select(void)
    339339{
    340340  int i, max_fd, aim_max_fd, aim_done, ret;
Note: See TracChangeset for help on using the changeset viewer.