[pisa-src] r1803 - in trunk/pairing: send.c send.h

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

Author: biurrun
Date: Thu Nov 26 14:42:50 2009
New Revision: 1803

Log:
Move struct extras declaration to send.c, the only place where it is used.

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

Modified: trunk/pairing/send.c
==============================================================================
--- trunk/pairing/send.c        Thu Nov 26 14:40:02 2009        (r1802)
+++ trunk/pairing/send.c        Thu Nov 26 14:42:50 2009        (r1803)
@@ -34,6 +34,11 @@
 
 struct global_send_variables global_send;
 
+// Holds integers which indicate various options
+struct extras {
+       int     request_type;
+};
+
 /** @todo Make sure that the address we're sending from is a HIT **/
 
 /** Sends the message given in gen_hdr and waits for a reply (quits after 
receiving

Modified: trunk/pairing/send.h
==============================================================================
--- trunk/pairing/send.h        Thu Nov 26 14:40:02 2009        (r1802)
+++ trunk/pairing/send.h        Thu Nov 26 14:42:50 2009        (r1803)
@@ -13,11 +13,6 @@
 #ifndef PISA_SEND_H
 #define PISA_SEND_H
 
-// Holds integers which indicate various options
-struct extras {
-       int     request_type;
-};
-
 struct global_send_variables {
        int socket_desc;
        int nickname_given;

Other related posts:

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