[pisa-src] r1432 - in trunk: pisacd/cdconfhandlers.c pisacd/cdderegister.c pisacd/cdregister.c pisacd/cdtimeout.c pisacd/cdtun.c pisacd/pisacdconf.c pisasd/pisasdconf.c pisasd/sdclients.c pisasd/sdderegister....

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 29 Oct 2009 19:29:08 +0100

Author: biurrun
Date: Thu Oct 29 19:29:08 2009
New Revision: 1432

Log:
All .c files should #include their corresponding header files.

Modified:
   trunk/pisacd/cdconfhandlers.c
   trunk/pisacd/cdderegister.c
   trunk/pisacd/cdregister.c
   trunk/pisacd/cdtimeout.c
   trunk/pisacd/cdtun.c
   trunk/pisacd/pisacdconf.c
   trunk/pisasd/pisasdconf.c
   trunk/pisasd/sdclients.c
   trunk/pisasd/sdderegister.c
   trunk/pisasd/sdnat.c
   trunk/pisasd/sdregister.c

Modified: trunk/pisacd/cdconfhandlers.c
==============================================================================
--- trunk/pisacd/cdconfhandlers.c       Thu Oct 29 19:24:57 2009        (r1431)
+++ trunk/pisacd/cdconfhandlers.c       Thu Oct 29 19:29:08 2009        (r1432)
@@ -22,6 +22,7 @@
 #include "libpisa/packet.h"
 #include "libpisa/conmgr.h"
 #include "libpisa/nat.h"
+#include "cdconfhandlers.h"
 #include "cdctx.h"
 #include "cdservers.h"
 

Modified: trunk/pisacd/cdderegister.c
==============================================================================
--- trunk/pisacd/cdderegister.c Thu Oct 29 19:24:57 2009        (r1431)
+++ trunk/pisacd/cdderegister.c Thu Oct 29 19:29:08 2009        (r1432)
@@ -12,6 +12,7 @@
  */
 
 #include "cdctx.h"
+#include "cdderegister.h"
 #include "cdpending.h"
 
 /**

Modified: trunk/pisacd/cdregister.c
==============================================================================
--- trunk/pisacd/cdregister.c   Thu Oct 29 19:24:57 2009        (r1431)
+++ trunk/pisacd/cdregister.c   Thu Oct 29 19:29:08 2009        (r1432)
@@ -16,6 +16,7 @@
 #include "cdconf.h"
 #include "cdheartbeat.h"
 #include "cdpending.h"
+#include "cdregister.h"
 #include "cdtimeout.h"
 
 /**

Modified: trunk/pisacd/cdtimeout.c
==============================================================================
--- trunk/pisacd/cdtimeout.c    Thu Oct 29 19:24:57 2009        (r1431)
+++ trunk/pisacd/cdtimeout.c    Thu Oct 29 19:29:08 2009        (r1432)
@@ -13,6 +13,7 @@
 #include "cdctx.h"
 #include "cdconf.h"
 #include "cdderegister.h"
+#include "cdtimeout.h"
 #include "libpisa/scheduler.h"
 
 /**

Modified: trunk/pisacd/cdtun.c
==============================================================================
--- trunk/pisacd/cdtun.c        Thu Oct 29 19:24:57 2009        (r1431)
+++ trunk/pisacd/cdtun.c        Thu Oct 29 19:29:08 2009        (r1432)
@@ -23,6 +23,7 @@
 #include "libpisa/conmgr.h"
 #include "cdpending.h"
 #include "cdservers.h"
+#include "cdtun.h"
 
 /**
  * Copy a packet from the data socket to the tunnel device.

Modified: trunk/pisacd/pisacdconf.c
==============================================================================
--- trunk/pisacd/pisacdconf.c   Thu Oct 29 19:24:57 2009        (r1431)
+++ trunk/pisacd/pisacdconf.c   Thu Oct 29 19:29:08 2009        (r1432)
@@ -23,6 +23,8 @@
 #include "libpisa/conmgr.h"
 #include "libpisa/nat.h"
 
+#include "pisacdconf.h"
+
 /**
  * Parse a pisacdconf server line and send out a packet to the client daemon.
  * @param argc number of arguments

Modified: trunk/pisasd/pisasdconf.c
==============================================================================
--- trunk/pisasd/pisasdconf.c   Thu Oct 29 19:24:57 2009        (r1431)
+++ trunk/pisasd/pisasdconf.c   Thu Oct 29 19:29:08 2009        (r1432)
@@ -20,6 +20,7 @@
 #include "libpisa/debug.h"
 #include "libpisa/global.h"
 #include "libpisa/pisaconf.h"
+#include "pisasdconf.h"
 
 /**
  * Parse a pisasdconf reload line and send out a packet to the server daemon.

Modified: trunk/pisasd/sdclients.c
==============================================================================
--- trunk/pisasd/sdclients.c    Thu Oct 29 19:24:57 2009        (r1431)
+++ trunk/pisasd/sdclients.c    Thu Oct 29 19:29:08 2009        (r1432)
@@ -10,6 +10,7 @@
  * @date Jun. 2009
  */
 
+#include "sdclients.h"
 #include "sdconf.h"
 #include "sdctx.h"
 #include "libpisa/cfg.h"

Modified: trunk/pisasd/sdderegister.c
==============================================================================
--- trunk/pisasd/sdderegister.c Thu Oct 29 19:24:57 2009        (r1431)
+++ trunk/pisasd/sdderegister.c Thu Oct 29 19:29:08 2009        (r1432)
@@ -12,6 +12,7 @@
  */
 
 #include "sdctx.h"
+#include "sdderegister.h"
 
 /**
  * Handle a tunnel control packet of type deregister. Deregister a client or

Modified: trunk/pisasd/sdnat.c
==============================================================================
--- trunk/pisasd/sdnat.c        Thu Oct 29 19:24:57 2009        (r1431)
+++ trunk/pisasd/sdnat.c        Thu Oct 29 19:29:08 2009        (r1432)
@@ -17,6 +17,7 @@
 #include "libpisa/debug.h"
 #include "sdctx.h"
 #include "sdconf.h"
+#include "sdnat.h"
 
 /**
  * Path procfs IPv4 forwarding option.

Modified: trunk/pisasd/sdregister.c
==============================================================================
--- trunk/pisasd/sdregister.c   Thu Oct 29 19:24:57 2009        (r1431)
+++ trunk/pisasd/sdregister.c   Thu Oct 29 19:29:08 2009        (r1432)
@@ -15,6 +15,7 @@
 #include "sdconf.h"
 #include "sdclients.h"
 #include "sdheartbeat.h"
+#include "sdregister.h"
 #include "libpisa/log.h"
 
 /**

Other related posts:

  • » [pisa-src] r1432 - in trunk: pisacd/cdconfhandlers.c pisacd/cdderegister.c pisacd/cdregister.c pisacd/cdtimeout.c pisacd/cdtun.c pisacd/pisacdconf.c pisasd/pisasdconf.c pisasd/sdclients.c pisasd/sdderegister.... - Diego Biurrun