summaryrefslogtreecommitdiff
path: root/src/xgselect.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-08-25 13:31:04 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-08-25 13:31:04 -0700
commit0f46bc7515ccc835e5752b47f8752ab7aaf7ed27 (patch)
tree9908d3cbf36442fb40595ffd0338dff74f8b9cbc /src/xgselect.h
parent9aba119d72dde74a86d436f6e4f934baa37ecbe9 (diff)
downloademacs-0f46bc7515ccc835e5752b47f8752ab7aaf7ed27.tar.gz
emacs-0f46bc7515ccc835e5752b47f8752ab7aaf7ed27.tar.bz2
emacs-0f46bc7515ccc835e5752b47f8752ab7aaf7ed27.zip
* xgselect.c (xg_select): Use auto storage for the GPollFD buffer
as that's faster and simpler than static storage. Don't bother with the g_main_context_query overhead if g_main_context_pending says no events are pending. (gfds, gfds_size): Remove these static vars. (xgselect_initialize): Remove; no longer needed. All uses and decls removed.
Diffstat (limited to 'src/xgselect.h')
-rw-r--r--src/xgselect.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/xgselect.h b/src/xgselect.h
index 8e5614ea972..5509e23c5c0 100644
--- a/src/xgselect.h
+++ b/src/xgselect.h
@@ -31,6 +31,4 @@ extern int xg_select (int max_fds,
EMACS_TIME *timeout,
sigset_t *sigmask);
-extern void xgselect_initialize (void);
-
#endif /* XGSELECT_H */