ofp-util: Style fixes.
authorBen Pfaff <blp@nicira.com>
Thu, 29 Nov 2012 05:33:04 +0000 (21:33 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 29 Nov 2012 16:04:12 +0000 (08:04 -0800)
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Simon Horman <horms@verge.net.au>
lib/ofp-util.c
lib/ofp-util.h

index 0b96eb6..edac120 100644 (file)
@@ -583,7 +583,7 @@ struct proto_abbrev {
 static const struct proto_abbrev proto_abbrevs[] = {
     { OFPUTIL_P_ANY,          "any" },
     { OFPUTIL_P_OF10_STD_ANY, "OpenFlow10" },
-    { OFPUTIL_P_OF10_NXM_ANY,  "NXM" },
+    { OFPUTIL_P_OF10_NXM_ANY, "NXM" },
 };
 #define N_PROTO_ABBREVS ARRAY_SIZE(proto_abbrevs)
 
index d354887..60c9f31 100644 (file)
@@ -101,8 +101,7 @@ enum ofputil_protocol {
 extern enum ofputil_protocol ofputil_flow_dump_protocols[];
 extern size_t ofputil_n_flow_dump_protocols;
 
-enum ofputil_protocol
-ofputil_protocol_from_ofp_version(enum ofp_version version);
+enum ofputil_protocol ofputil_protocol_from_ofp_version(enum ofp_version);
 enum ofp_version  ofputil_protocol_to_ofp_version(enum ofputil_protocol);
 
 bool ofputil_protocol_is_valid(enum ofputil_protocol);