Message ID | 1458057179-27633-2-git-send-email-lrichard@redhat.com |
---|---|
State | Accepted |
Headers | show |
On Tue, Mar 15, 2016 at 11:52:55AM -0400, Lance Richardson wrote: > Rename ofproto-dpif wait() to avoid collision with wait(2) under OS X. > > Signed-off-by: Lance Richardson <lrichard@redhat.com> > --- > Changes from v1: None Applied, thanks!
diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index b963ff2..2402a58 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -1610,7 +1610,7 @@ run(struct ofproto *ofproto_) } static void -wait(struct ofproto *ofproto_) +ofproto_dpif_wait(struct ofproto *ofproto_) { struct ofproto_dpif *ofproto = ofproto_dpif_cast(ofproto_); @@ -5771,7 +5771,7 @@ const struct ofproto_class ofproto_dpif_class = { destruct, dealloc, run, - wait, + ofproto_dpif_wait, NULL, /* get_memory_usage. */ type_get_memory_usage, flush,
Rename ofproto-dpif wait() to avoid collision with wait(2) under OS X. Signed-off-by: Lance Richardson <lrichard@redhat.com> --- Changes from v1: None ofproto/ofproto-dpif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)