[pisa-src] r1821 - in trunk/pairing: packet_handler.h packet_handler_accept.h packet_handler_send.h

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

Author: biurrun
Date: Thu Nov 26 16:27:35 2009
New Revision: 1821

Log:
Remove a bunch of unnecessary #includes.

Modified:
   trunk/pairing/packet_handler.h
   trunk/pairing/packet_handler_accept.h
   trunk/pairing/packet_handler_send.h

Modified: trunk/pairing/packet_handler.h
==============================================================================
--- trunk/pairing/packet_handler.h      Thu Nov 26 16:25:21 2009        (r1820)
+++ trunk/pairing/packet_handler.h      Thu Nov 26 16:27:35 2009        (r1821)
@@ -13,15 +13,7 @@
 #ifndef PISA_PACKET_HANDLER_H
 #define PISA_PACKET_HANDLER_H
 
-#include "common.h"
 #include "common_headers.h"
-#include "hash.h"
-#include <sys/socket.h>
-#include <sys/types.h>
-#include "libconfig_wrapper.h"
-#include "packet_handler_send.h"
-#include "packet_handler_accept.h"
-
 
 // Function prototypes
 int handle_packet(struct sockaddr_in6 *socket_addr, header_general *gen_hdr,   
           int *msg_type, int *return_value);

Modified: trunk/pairing/packet_handler_accept.h
==============================================================================
--- trunk/pairing/packet_handler_accept.h       Thu Nov 26 16:25:21 2009        
(r1820)
+++ trunk/pairing/packet_handler_accept.h       Thu Nov 26 16:27:35 2009        
(r1821)
@@ -14,9 +14,7 @@
 #ifndef PISA_PACKET_HANDLER_ACCEPT_H
 #define PISA_PACKET_HANDLER_ACCEPT_H
 
-#include "common.h"
 #include "common_headers.h"
-#include "hash.h"
 #include "libconfig_wrapper.h"
 
 // Function prototypes

Modified: trunk/pairing/packet_handler_send.h
==============================================================================
--- trunk/pairing/packet_handler_send.h Thu Nov 26 16:25:21 2009        (r1820)
+++ trunk/pairing/packet_handler_send.h Thu Nov 26 16:27:35 2009        (r1821)
@@ -13,11 +13,8 @@
 #ifndef PISA_PACKET_HANDLER_SEND_H
 #define PISA_PACKET_HANDLER_SEND_H
 
-#include "common.h"
 #include "common_headers.h"
-#include "hash.h"
 #include "libconfig_wrapper.h"
-#include "create_send_headers.h"
 
 // Function prototypes
 int handle_packet_ack_1(struct sockaddr_in6 *socket_addr, header_ack_1 
*hdr_ack_1);

Other related posts:

  • » [pisa-src] r1821 - in trunk/pairing: packet_handler.h packet_handler_accept.h packet_handler_send.h - Diego Biurrun