]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
tc/p_ip.c: Minor coding style cleanup
authorPhil Sutter <phil@nwl.cc>
Tue, 22 Mar 2016 14:16:21 +0000 (15:16 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Sun, 27 Mar 2016 17:34:22 +0000 (10:34 -0700)
Break overlong function definitions and remove one extraneous
whitespace.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
tc/p_ip.c

index 53dfb2693d47e20eecb6061a0725974ea8afbede..535151e5d76682f3e5ac3b892d331eee9f2d2c6a 100644 (file)
--- a/tc/p_ip.c
+++ b/tc/p_ip.c
@@ -24,7 +24,8 @@
 #include "m_pedit.h"
 
 static int
-parse_ip(int *argc_p, char ***argv_p, struct tc_pedit_sel *sel, struct tc_pedit_key *tkey)
+parse_ip(int *argc_p, char ***argv_p,
+        struct tc_pedit_sel *sel, struct tc_pedit_key *tkey)
 {
        int res = -1;
        int argc = *argc_p;
@@ -52,7 +53,7 @@ parse_ip(int *argc_p, char ***argv_p, struct tc_pedit_sel *sel, struct tc_pedit_
        if (strcmp(*argv, "tos") == 0 || matches(*argv, "dsfield") == 0) {
                NEXT_ARG();
                tkey->off = 1;
-               res = parse_cmd(&argc, &argv,  1, TU32, RU8, sel, tkey);
+               res = parse_cmd(&argc, &argv, 1, TU32, RU8, sel, tkey);
                goto done;
        }
        if (strcmp(*argv, "ihl") == 0) {
@@ -139,7 +140,8 @@ done:
 }
 
 static int
-parse_ip6(int *argc_p, char ***argv_p, struct tc_pedit_sel *sel, struct tc_pedit_key *tkey)
+parse_ip6(int *argc_p, char ***argv_p,
+         struct tc_pedit_sel *sel, struct tc_pedit_key *tkey)
 {
        int res = -1;
        return res;