@@ -50,14 +50,6 @@ OF SUCH DAMAGE.
5050static Window get_daemon_window (Display * dpy );
5151static int catch_badwin (Display * dpy , XErrorEvent * err );
5252
53- static int read_event (int s , spnav_event * event );
54- static int proc_event (int * data , spnav_event * event );
55-
56- static void flush_resp (void );
57- static int wait_resp (void * buf , int sz , int timeout_ms );
58- static int request (int req , struct reqresp * rr , int timeout_ms );
59- static int request_str (int req , char * buf , int bufsz , int timeout_ms );
60-
6153
6254static Display * dpy ;
6355static Window app_win ;
@@ -73,6 +65,15 @@ enum {
7365#define IS_OPEN (sock != -1)
7466#endif
7567
68+ static int read_event (int s , spnav_event * event );
69+ static int proc_event (int * data , spnav_event * event );
70+
71+ static void flush_resp (void );
72+ static int wait_resp (void * buf , int sz , int timeout_ms );
73+ static int request (int req , struct reqresp * rr , int timeout_ms );
74+ static int request_str (int req , char * buf , int bufsz , int timeout_ms );
75+
76+
7677struct event_node {
7778 spnav_event event ;
7879 struct event_node * next ;
0 commit comments