Signed-off-by: Alan Coopersmith <[email protected]>
---
 common.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/common.c b/common.c
index d6f4d7c..c0e9fd6 100644
--- a/common.c
+++ b/common.c
@@ -187,8 +187,6 @@ static int ListenTransCount;
 #include <netinet/in.h>         /* struct sockaddr_in */
 #include <netdb.h>              /* struct servent * and struct hostent *  */
 
-static int ON = 1; /* used in ioctl */
-
 #define        BACKLOG 5
 #endif
 
@@ -204,6 +202,7 @@ SetUpConnectionSocket(int iport, void (*connectionFunc) 
(int))
     struct sockaddr_in sin;
     short port;
     int one = 1;
+    int ON = 1;                 /* used in ioctl */
 #ifndef        SO_DONTLINGER
     struct linger linger;
 #endif                          /* SO_DONTLINGER */
-- 
1.7.9.2

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to