[ovs-dev] [PATCH 2/3] odp-util: Adjust style.

Ben Pfaff blp at nicira.com
Mon Nov 7 17:16:29 UTC 2011

Usually we don't put a new-line in prototypes unless we have to.  I also
think that this comment deserves to be higher up in the file, so I moved
 lib/odp-util.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/lib/odp-util.c b/lib/odp-util.c
index fb7aabb..197b2d0 100644
--- a/lib/odp-util.c
+++ b/lib/odp-util.c
@@ -34,15 +34,14 @@
 #include "timeval.h"
 #include "util.h"
-static void
-format_odp_key_attr(const struct nlattr *a, struct ds *ds);
 /* The interface between userspace and kernel uses an "OVS_*" prefix.
  * Since this is fairly non-specific for the OVS userspace components,
  * "ODP_*" (Open vSwitch Datapath) is used as the prefix for
  * interactions with the datapath.
+static void format_odp_key_attr(const struct nlattr *a, struct ds *ds);
 /* Returns one the following for the action with the given OVS_ACTION_ATTR_*
  * 'type':

More information about the dev mailing list