summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorduanjiong <djduanjiong@gmail.com>2017-11-06 14:06:12 +0800
committerBen Pfaff <blp@ovn.org>2017-11-06 14:43:58 -0800
commit1acb986d7f278f6359ece2ce087949253c513657 (patch)
tree72415e5d1a0c7aac76a3c595b665d3d2d28f64bd /include
parentff6aa424ef1f46d2d1c468940219e187632ec894 (diff)
downloadopenvswitch-1acb986d7f278f6359ece2ce087949253c513657.tar.gz
packets: Move declarations inside extern "C".
It doesn't matter but it seems "more correct" this way. Signed-off-by: Duan Jiong <djduanjiong@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'include')
-rw-r--r--include/openvswitch/packets.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/openvswitch/packets.h b/include/openvswitch/packets.h
index be91e02da..c74ce286d 100644
--- a/include/openvswitch/packets.h
+++ b/include/openvswitch/packets.h
@@ -73,10 +73,6 @@ union flow_vlan_hdr {
};
};
-#ifdef __cplusplus
-}
-#endif
-
/* Network Service Header keys */
struct flow_nsh {
uint8_t flags;
@@ -93,4 +89,8 @@ struct flow_nsh {
#define FLOW_NSH_F_MASK ((1 << 2) - 1)
+#ifdef __cplusplus
+}
+#endif
+
#endif /* packets.h */