[pisa-src] r1796 - in trunk/pairing: accept.c accept.h

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 26 Nov 2009 14:16:24 +0100

Author: biurrun
Date: Thu Nov 26 14:16:24 2009
New Revision: 1796

Log:
Move TIMER_INTERVAL #define to the only place it is used.

Modified:
   trunk/pairing/accept.c
   trunk/pairing/accept.h

Modified: trunk/pairing/accept.c
==============================================================================
--- trunk/pairing/accept.c      Thu Nov 26 14:15:39 2009        (r1795)
+++ trunk/pairing/accept.c      Thu Nov 26 14:16:24 2009        (r1796)
@@ -21,6 +21,8 @@
 #include "accept.h"
 #include "common_headers.h"
 
+#define TIMER_INTERVAL 60
+
 struct global_accept_variables global_accept = {0};
 
 static int open_socket_accept(void)

Modified: trunk/pairing/accept.h
==============================================================================
--- trunk/pairing/accept.h      Thu Nov 26 14:15:39 2009        (r1795)
+++ trunk/pairing/accept.h      Thu Nov 26 14:16:24 2009        (r1796)
@@ -21,6 +21,4 @@
 // Global variables
 extern struct global_accept_variables global_accept;
 
-#define TIMER_INTERVAL 60
-
 #endif /* PISA_ACCEPT_H */

Other related posts:

  • » [pisa-src] r1796 - in trunk/pairing: accept.c accept.h - Diego Biurrun