include: Use #include <.*> in public headers.
authorThomas Graf <tgraf@noironetworks.com>
Wed, 12 Nov 2014 14:06:02 +0000 (15:06 +0100)
committerBen Pfaff <blp@nicira.com>
Wed, 12 Nov 2014 18:15:35 +0000 (10:15 -0800)
Required to make the headers installable.

Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
build-aux/check-structs
include/openflow/nicira-ext.h
include/openflow/openflow-1.0.h
include/openflow/openflow-1.1.h
include/openflow/openflow-1.2.h
include/openflow/openflow-1.3.h
include/openflow/openflow-1.4.h
include/openflow/openflow-1.5.h
include/openflow/openflow-common.h
include/openflow/openflow.h

index 0428abf..44ffaa7 100755 (executable)
@@ -20,7 +20,7 @@ token = None
 line = ""
 idRe = "[a-zA-Z_][a-zA-Z_0-9]*"
 tokenRe = "#?" + idRe + "|[0-9]+|."
-includeRe = re.compile(r'\s*#include\s+"(openflow/[^#]+)"')
+includeRe = re.compile(r'\s*#include\s+<(openflow/[^#]+)>')
 includePath = ''
 inComment = False
 inDirective = False
index b20bab3..e749450 100644 (file)
@@ -17,8 +17,8 @@
 #ifndef OPENFLOW_NICIRA_EXT_H
 #define OPENFLOW_NICIRA_EXT_H 1
 
-#include "openflow/openflow.h"
-#include "openvswitch/types.h"
+#include <openflow/openflow.h>
+#include <openvswitch/types.h>
 
 /* The following vendor extensions, proposed by Nicira, are not yet
  * standardized, so they are not included in openflow.h.  Some of them may be
index 22c4be2..856634a 100644 (file)
@@ -19,7 +19,7 @@
 #ifndef OPENFLOW_OPENFLOW10_H
 #define OPENFLOW_OPENFLOW10_H 1
 
-#include "openflow/openflow-common.h"
+#include <openflow/openflow-common.h>
 
 /* Port number(s)   meaning
  * ---------------  --------------------------------------
index 8b52b25..ff3928a 100644 (file)
@@ -52,7 +52,7 @@
 #ifndef OPENFLOW_11_H
 #define OPENFLOW_11_H 1
 
-#include "openflow/openflow-common.h"
+#include <openflow/openflow-common.h>
 
 /* OpenFlow 1.1 uses 32-bit port numbers.  Open vSwitch, for now, uses OpenFlow
  * 1.0 port numbers internally.  We map them to OpenFlow 1.0 as follows:
index f4c97a1..65417d6 100644 (file)
@@ -53,7 +53,7 @@
 #ifndef OPENFLOW_12_H
 #define OPENFLOW_12_H 1
 
-#include "openflow/openflow-1.1.h"
+#include <openflow/openflow-1.1.h>
 
 /* Error type for experimenter error messages. */
 #define OFPET12_EXPERIMENTER 0xffff
index caae674..142d32c 100644 (file)
@@ -37,7 +37,7 @@
 #ifndef OPENFLOW_13_H
 #define OPENFLOW_13_H 1
 
-#include "openflow/openflow-1.2.h"
+#include <openflow/openflow-1.2.h>
 
 /*
  * OpenFlow 1.3 modifies the syntax of the following message types:
index 2a765cf..7631e47 100644 (file)
@@ -37,7 +37,7 @@
 #ifndef OPENFLOW_14_H
 #define OPENFLOW_14_H 1
 
-#include "openflow/openflow-1.3.h"
+#include <openflow/openflow-1.3.h>
 
 
 /* ## ---------- ## */
index 1d4d589..d1245d3 100644 (file)
@@ -37,7 +37,7 @@
 #ifndef OPENFLOW_15_H
 #define OPENFLOW_15_H 1
 
-#include "openflow/openflow-common.h"
+#include <openflow/openflow-common.h>
 
 /* Group commands */
 enum ofp15_group_mod_command {
index 3a11725..0915c91 100644 (file)
@@ -50,7 +50,7 @@
 #ifndef OPENFLOW_COMMON_H
 #define OPENFLOW_COMMON_H 1
 
-#include "openvswitch/types.h"
+#include <openvswitch/types.h>
 
 #ifdef SWIG
 #define OFP_ASSERT(EXPR)        /* SWIG can't handle OFP_ASSERT. */
index b9cbdca..7976fbb 100644 (file)
 #ifndef OPENFLOW_OPENFLOW_H
 #define OPENFLOW_OPENFLOW_H 1
 
-#include "openflow/openflow-1.0.h"
-#include "openflow/openflow-1.1.h"
-#include "openflow/openflow-1.2.h"
-#include "openflow/openflow-1.3.h"
-#include "openflow/openflow-1.4.h"
-#include "openflow/openflow-1.5.h"
+#include <openflow/openflow-1.0.h>
+#include <openflow/openflow-1.1.h>
+#include <openflow/openflow-1.2.h>
+#include <openflow/openflow-1.3.h>
+#include <openflow/openflow-1.4.h>
+#include <openflow/openflow-1.5.h>
 
 #endif /* openflow/openflow.h */