diff options
Diffstat (limited to 'src/xgselect.c')
-rw-r--r-- | src/xgselect.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/xgselect.c b/src/xgselect.c index 42fff2d98da..56e14fe6e14 100644 --- a/src/xgselect.c +++ b/src/xgselect.c @@ -29,12 +29,8 @@ static GPollFD *gfds; static int gfds_size; int -xg_select (max_fds, rfds, wfds, efds, timeout) - int max_fds; - SELECT_TYPE *rfds; - SELECT_TYPE *wfds; - SELECT_TYPE *efds; - EMACS_TIME *timeout; +xg_select (int max_fds, SELECT_TYPE *rfds, SELECT_TYPE *wfds, SELECT_TYPE *efds, + EMACS_TIME *timeout) { SELECT_TYPE all_rfds, all_wfds; EMACS_TIME tmo, *tmop = timeout; @@ -147,7 +143,7 @@ xg_select (max_fds, rfds, wfds, efds, timeout) #endif /* defined (USE_GTK) || defined (HAVE_GCONF) */ void -xgselect_initialize () +xgselect_initialize (void) { #if defined (USE_GTK) || defined (HAVE_GCONF) gfds_size = 128; |