summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2017-11-24 11:31:36 -0800
committerStephen Hemminger <stephen@networkplumber.org>2017-11-24 11:31:36 -0800
commit859af0a5dca7ccc73cc09b457ec8220fc466811a (patch)
treea030d85a89edf3a8061f702e75d4db9690c2f037
parent927e3cfb52b58fbdf217d84204d653db101c137a (diff)
tc: break long lines
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r--tc/f_rsvp.c3
-rw-r--r--tc/q_atm.c3
-rw-r--r--tc/q_cbs.c3
-rw-r--r--tc/q_drr.c3
-rw-r--r--tc/q_fifo.c3
-rw-r--r--tc/q_hfsc.c10
-rw-r--r--tc/q_htb.c4
-rw-r--r--tc/q_prio.c3
-rw-r--r--tc/q_red.c3
-rw-r--r--tc/q_tbf.c3
10 files changed, 24 insertions, 14 deletions
diff --git a/tc/f_rsvp.c b/tc/f_rsvp.c
index 02028b4b..1ce37340 100644
--- a/tc/f_rsvp.c
+++ b/tc/f_rsvp.c
@@ -169,7 +169,8 @@ done:
}
-static int rsvp_parse_opt(struct filter_util *qu, char *handle, int argc, char **argv, struct nlmsghdr *n)
+static int rsvp_parse_opt(struct filter_util *qu, char *handle, int argc,
+ char **argv, struct nlmsghdr *n)
{
int family = strcmp(qu->id, "rsvp") == 0 ? AF_INET : AF_INET6;
struct tc_rsvp_pinfo pinfo = {};
diff --git a/tc/q_atm.c b/tc/q_atm.c
index 787b46cd..783a578c 100644
--- a/tc/q_atm.c
+++ b/tc/q_atm.c
@@ -26,7 +26,8 @@
#define MAX_HDR_LEN 64
-static int atm_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n, const char *dev)
+static int atm_parse_opt(struct qdisc_util *qu, int argc, char **argv,
+ struct nlmsghdr *n, const char *dev)
{
if (argc) {
fprintf(stderr, "Usage: atm\n");
diff --git a/tc/q_cbs.c b/tc/q_cbs.c
index e1134c3a..b5739057 100644
--- a/tc/q_cbs.c
+++ b/tc/q_cbs.c
@@ -34,7 +34,8 @@ static void explain1(const char *arg, const char *val)
fprintf(stderr, "cbs: illegal value for \"%s\": \"%s\"\n", arg, val);
}
-static int cbs_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n, const char *dev)
+static int cbs_parse_opt(struct qdisc_util *qu, int argc,
+ char **argv, struct nlmsghdr *n, const char *dev)
{
struct tc_cbs_qopt opt = {};
struct rtattr *tail;
diff --git a/tc/q_drr.c b/tc/q_drr.c
index 85aa5b60..5e541c09 100644
--- a/tc/q_drr.c
+++ b/tc/q_drr.c
@@ -33,7 +33,8 @@ static void explain2(void)
}
-static int drr_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n, const char *dev)
+static int drr_parse_opt(struct qdisc_util *qu, int argc, char **argv,
+ struct nlmsghdr *n, const char *dev)
{
while (argc) {
if (strcmp(*argv, "help") == 0) {
diff --git a/tc/q_fifo.c b/tc/q_fifo.c
index c89d186d..5fd6c1b1 100644
--- a/tc/q_fifo.c
+++ b/tc/q_fifo.c
@@ -27,7 +27,8 @@ static void explain(void)
fprintf(stderr, "Usage: ... <[p|b]fifo | pfifo_head_drop> [ limit NUMBER ]\n");
}
-static int fifo_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n, const char *dev)
+static int fifo_parse_opt(struct qdisc_util *qu, int argc, char **argv,
+ struct nlmsghdr *n, const char *dev)
{
int ok = 0;
struct tc_fifo_qopt opt = {};
diff --git a/tc/q_hfsc.c b/tc/q_hfsc.c
index 597a659a..c19e87f9 100644
--- a/tc/q_hfsc.c
+++ b/tc/q_hfsc.c
@@ -23,8 +23,8 @@
#include "utils.h"
#include "tc_util.h"
-static int hfsc_get_sc(int *, char ***, struct tc_service_curve *, const char *);
-
+static int hfsc_get_sc(int *, char ***,
+ struct tc_service_curve *, const char *);
static void
explain_qdisc(void)
@@ -70,7 +70,8 @@ explain1(char *arg)
}
static int
-hfsc_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n, const char *dev)
+hfsc_parse_opt(struct qdisc_util *qu, int argc, char **argv,
+ struct nlmsghdr *n, const char *dev)
{
struct tc_hfsc_qopt qopt = {};
@@ -281,7 +282,8 @@ struct qdisc_util hfsc_qdisc_util = {
};
static int
-hfsc_get_sc1(int *argcp, char ***argvp, struct tc_service_curve *sc, const char *dev)
+hfsc_get_sc1(int *argcp, char ***argvp,
+ struct tc_service_curve *sc, const char *dev)
{
char **argv = *argvp;
int argc = *argcp;
diff --git a/tc/q_htb.c b/tc/q_htb.c
index 3e295a71..ffb43aa1 100644
--- a/tc/q_htb.c
+++ b/tc/q_htb.c
@@ -58,8 +58,8 @@ static void explain1(char *arg)
explain();
}
-
-static int htb_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n, const char *dev)
+static int htb_parse_opt(struct qdisc_util *qu, int argc,
+ char **argv, struct nlmsghdr *n, const char *dev)
{
unsigned int direct_qlen = ~0U;
struct tc_htb_glob opt = {
diff --git a/tc/q_prio.c b/tc/q_prio.c
index 992da6f6..358cf06c 100644
--- a/tc/q_prio.c
+++ b/tc/q_prio.c
@@ -27,7 +27,8 @@ static void explain(void)
fprintf(stderr, "Usage: ... prio bands NUMBER priomap P1 P2...[multiqueue]\n");
}
-static int prio_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n, const char *dev)
+static int prio_parse_opt(struct qdisc_util *qu, int argc, char **argv,
+ struct nlmsghdr *n, const char *dev)
{
int pmap_mode = 0;
int idx = 0;
diff --git a/tc/q_red.c b/tc/q_red.c
index cf482fcc..1949558f 100644
--- a/tc/q_red.c
+++ b/tc/q_red.c
@@ -32,7 +32,8 @@ static void explain(void)
fprintf(stderr, " [ecn] [harddrop]\n");
}
-static int red_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n, const char *dev)
+static int red_parse_opt(struct qdisc_util *qu, int argc, char **argv,
+ struct nlmsghdr *n, const char *dev)
{
struct tc_red_qopt opt = {};
unsigned int burst = 0;
diff --git a/tc/q_tbf.c b/tc/q_tbf.c
index 2c5edbe2..dfaa5d38 100644
--- a/tc/q_tbf.c
+++ b/tc/q_tbf.c
@@ -35,7 +35,8 @@ static void explain1(const char *arg, const char *val)
}
-static int tbf_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n, const char *dev)
+static int tbf_parse_opt(struct qdisc_util *qu, int argc, char **argv,
+ struct nlmsghdr *n, const char *dev)
{
int ok = 0;
struct tc_tbf_qopt opt = {};