packets: Move declarations inside extern "C".
It doesn't matter but it seems "more correct" this way.
@@ -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 */
