[hipl-commit] [trunk] Rev 4443: Remove pointless header file pfkeyapi.h.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Thu, 29 Apr 2010 20:25:17 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 29/04/2010 at 20:25:17
Revision: 4443
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Remove pointless header file pfkeyapi.h.
  
  The header is just a wrapper around xfrmapi.h; #include that directly instead.

Modified:
  D  hipd/pfkeyapi.h
  M  hipd/pfkeyapi.c
  M  lib/tool/pfkeysadb.c

=== modified file 'hipd/pfkeyapi.c'
--- hipd/pfkeyapi.c     2010-04-21 16:08:58 +0000
+++ hipd/pfkeyapi.c     2010-04-29 17:24:31 +0000
@@ -20,10 +20,10 @@
 #include "lib/ipsec/ipsec_strerror.h"
 #include "lib/ipsec/libpfkey.h"
 #include "lib/ipsec/pfkeyv2.h"
-#include "pfkeyapi.h"
 #include "lib/core/hip_udp.h"
 #include "lib/core/keylen.h"
 #include "lib/tool/pfkeysadb.h"
+#include "lib/tool/xfrmapi.h"
 
 // FIXME: This must be turned to BEET when BEET will be supported by pfkey as 
well
 #define HIP_IPSEC_DEFAULT_MODE IPSEC_MODE_BEET

=== modified file 'lib/tool/pfkeysadb.c'
--- lib/tool/pfkeysadb.c        2010-04-21 16:08:58 +0000
+++ lib/tool/pfkeysadb.c        2010-04-29 17:24:31 +0000
@@ -14,12 +14,12 @@
 #include <linux/ipsec.h>
 
 #include "config.h"
-#include "hipd/pfkeyapi.h"
 #include "lib/ipsec/libpfkey.h"
 #include "lib/ipsec/pfkeyv2.h"
 #include "lib/core/hip_udp.h"
 #include "lib/core/keylen.h"
 #include "lib/core/debug.h"
+#include "lib/tool/xfrmapi.h"
 #include "pfkeysadb.h"
 
 /**

Other related posts:

  • » [hipl-commit] [trunk] Rev 4443: Remove pointless header file pfkeyapi.h. - Diego Biurrun