Skip to content

Commit

Permalink
Remove a pair of unnecessary dependencies on datapath-protocol.h.
Browse files Browse the repository at this point in the history
These headers don't really need datapath-protocol.h.  connmgr.h indirectly
used "struct nlattr" from that header, so add a forward declaration.  (The
next commit will remove use of struct nlattr entirely from that header,
since it is not really appropriate.)
  • Loading branch information
blp committed Sep 30, 2011
1 parent 7593daa commit a946b63
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/flow.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include "openflow/nicira-ext.h"
#include "openflow/openflow.h"
#include "hash.h"
#include "openvswitch/datapath-protocol.h"
#include "util.h"

struct dpif_flow_stats;
Expand Down
1 change: 0 additions & 1 deletion lib/netdev-linux.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

#include <stdint.h>
#include <stdbool.h>
#include "openvswitch/datapath-protocol.h"

/* These functions are Linux specific, so they should be used directly only by
* Linux-specific code. */
Expand Down
1 change: 1 addition & 0 deletions ofproto/connmgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include "openflow/nicira-ext.h"
#include "openvswitch/types.h"

struct nlattr;
struct ofconn;
struct ofopgroup;
struct ofputil_flow_removed;
Expand Down

0 comments on commit a946b63

Please sign in to comment.