]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commitdiff
can: All functions have custom prefixes.
authorRostislav Lisovy <lisovy@gmail.com>
Wed, 23 May 2012 14:53:17 +0000 (16:53 +0200)
committerRostislav Lisovy <lisovy@gmail.com>
Wed, 23 May 2012 14:53:17 +0000 (16:53 +0200)
tc/f_can.c

index f1656988ca4342d7f87285ce592b5ea5473d50bc..4e6fb76b60e9cfcf632a43794ac2ee3efd24e8c6 100644 (file)
@@ -35,7 +35,7 @@
                                netlink message during creation/configuration */
 
 
-static void explain(void)
+static void canfltr_explain(void)
 {
        fprintf(stderr, "Usage: ... can [ MATCHSPEC ] [ flowid FLOWID ]\n"
                        "\n"
@@ -143,12 +143,12 @@ static int canfltr_parse_opt(struct filter_util *qu, char *handle,
                        addattr_l(n, MAX_MSG, TCA_CANFLTR_CLASSID, &handle, 4);
 
                } else if (strcmp(*argv, "help") == 0) {
-                       explain();
+                       canfltr_explain();
                        return -1;
 
                } else {
                        fprintf(stderr, "What is \"%s\"?\n", *argv);
-                       explain();
+                       canfltr_explain();
                        return -1;
                }
                argc--; argv++;