[hipl-commit] [trunk] Rev 4269: Add #includes for corresponding header files to .c files.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Tue, 13 Apr 2010 19:52:19 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 13/04/2010 at 19:52:19
Revision: 4269
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Add #includes for corresponding header files to .c files.

Modified:
  M  firewall/user_ipsec_fw_msg.c
  M  hipd/pfkeyapi.c
  M  hipd/pisa.c
  M  i3/i3/i3_misc.c
  M  i3/i3/i3_utils.c
  M  i3/i3_client/downhill_simplex.c
  M  i3/utils/inetfns.c
  M  lib/core/util.c

=== modified file 'firewall/user_ipsec_fw_msg.c'
--- firewall/user_ipsec_fw_msg.c        2010-04-09 16:24:44 +0000
+++ firewall/user_ipsec_fw_msg.c        2010-04-13 16:51:53 +0000
@@ -12,6 +12,7 @@
 
 #include "esp_prot_fw_msg.h"
 #include "firewall.h"
+#include "user_ipsec_fw_msg.h"
 #include "lib/core/builder.h"
 #include "lib/core/message.h"
 

=== modified file 'hipd/pfkeyapi.c'
--- hipd/pfkeyapi.c     2010-04-13 11:16:22 +0000
+++ hipd/pfkeyapi.c     2010-04-13 16:51:53 +0000
@@ -17,6 +17,7 @@
 #include <linux/ipsec.h>
 
 #include "config.h"
+#include "lib/ipsec/ipsec_strerror.h"
 #include "lib/ipsec/libpfkey.h"
 #include "lib/ipsec/pfkeyv2.h"
 #include "pfkeyapi.h"

=== modified file 'hipd/pisa.c'
--- hipd/pisa.c 2010-03-18 21:15:21 +0000
+++ hipd/pisa.c 2010-04-13 16:51:53 +0000
@@ -12,6 +12,7 @@
  */
 
 #include "hipd.h"
+#include "pisa.h"
 
 #define CERT_MAX_SIZE 1024
 

=== modified file 'i3/i3/i3_misc.c'
--- i3/i3/i3_misc.c     2010-02-17 17:38:08 +0000
+++ i3/i3/i3_misc.c     2010-04-13 16:51:53 +0000
@@ -12,6 +12,8 @@
 #include <stdarg.h>
 #include <errno.h>
 
+#include "i3_misc.h"
+
 void panic(char *fmt, ...)
 {
     va_list args;

=== modified file 'i3/i3/i3_utils.c'
--- i3/i3/i3_utils.c    2010-02-17 17:38:08 +0000
+++ i3/i3/i3_utils.c    2010-04-13 16:51:53 +0000
@@ -4,6 +4,8 @@
 #include <string.h>
 #include <errno.h>
 
+#include "i3_utils.h"
+
 #define MAXLINE     4096
 
 

=== modified file 'i3/i3_client/downhill_simplex.c'
--- i3/i3_client/downhill_simplex.c     2010-02-17 17:38:08 +0000
+++ i3/i3_client/downhill_simplex.c     2010-04-13 16:51:53 +0000
@@ -25,6 +25,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 
+#include "downhill_simplex.h"
+
 #define TINY 1.0e-10
 #define NMAX 500000
 

=== modified file 'i3/utils/inetfns.c'
--- i3/utils/inetfns.c  2010-04-13 16:29:54 +0000
+++ i3/utils/inetfns.c  2010-04-13 16:51:53 +0000
@@ -23,6 +23,7 @@
 #endif
 
 #include "eprintf.h"
+#include "inetfns.h"
 
 
 #define TRIVIAL_LOCAL_ADDR      "127.0.0.1"
@@ -72,7 +73,7 @@
  * Return: As an unsigned long in network byte order
  *
  **************************************************************************/
-static uint32_t name_to_addr(const char *name)
+uint32_t name_to_addr(const char *name)
 {
     int i;
     struct hostent *hptr = gethostbyname(name);
@@ -96,7 +97,7 @@
  * Return: As an unsigned long in network byte order
  *
  **************************************************************************/
-static uint32_t get_local_addr_uname(void)
+uint32_t get_local_addr_uname(void)
 {
     struct utsname myname;
     uint32_t addr = 0;
@@ -241,7 +242,7 @@
     return get_local_addr();
 }
 
-static uint32_t name_to_addr(const char *name)
+uint32_t name_to_addr(const char *name)
 {
     uint32_t ret_val     = 0;
     int err              = 0;
@@ -279,7 +280,7 @@
     }
 }
 
-static uint32_t get_local_addr_uname(void)
+uint32_t get_local_addr_uname(void)
 {
     char *buf;
     int buf_size = 1024;

=== modified file 'lib/core/util.c'
--- lib/core/util.c     2010-04-09 18:50:26 +0000
+++ lib/core/util.c     2010-04-13 16:51:53 +0000
@@ -7,6 +7,7 @@
 #include <stdlib.h>
 
 #include "config.h"
+#include "util.h"
 #include "version.h"
 
 /**

Other related posts:

  • » [hipl-commit] [trunk] Rev 4269: Add #includes for corresponding header files to .c files. - Diego Biurrun