Skip to content

Commit

Permalink
packets: Move declarations inside extern "C".
Browse files Browse the repository at this point in the history
It doesn't matter but it seems "more correct" this way.

Signed-off-by: Duan Jiong <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
duanjiong authored and blp committed Nov 6, 2017
1 parent ff6aa42 commit 1acb986
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/openvswitch/packets.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ union flow_vlan_hdr {
};
};

#ifdef __cplusplus
}
#endif

/* Network Service Header keys */
struct flow_nsh {
uint8_t flags;
Expand All @@ -93,4 +89,8 @@ struct flow_nsh {

#define FLOW_NSH_F_MASK ((1 << 2) - 1)

#ifdef __cplusplus
}
#endif

#endif /* packets.h */

0 comments on commit 1acb986

Please sign in to comment.