summaryrefslogtreecommitdiffstats
path: root/tc
diff options
context:
space:
mode:
authorosdl.net!shemminger <osdl.net!shemminger>2004-06-28 20:42:59 +0000
committerosdl.net!shemminger <osdl.net!shemminger>2004-06-28 20:42:59 +0000
commit9615dc1da4ce4cefff0cf605eab800c62a51e7ff (patch)
tree0a8cf68f0a325e60c878e6bc6f1b45632017c8b6 /tc
parente116e4c6e0b156888be60c98250581f52cea9cda (diff)
all the print functions always returned 0, so just make them void.
(Logical change 1.40)
Diffstat (limited to 'tc')
-rw-r--r--tc/tc_util.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tc/tc_util.h b/tc/tc_util.h
index 208adbe1..b3d70da9 100644
--- a/tc/tc_util.h
+++ b/tc/tc_util.h
@@ -35,11 +35,11 @@ extern int get_percent(unsigned *percent, const char *str);
extern int get_size(unsigned *size, const char *str);
extern int get_size_and_cell(unsigned *size, int *cell_log, char *str);
extern int get_usecs(unsigned *usecs, const char *str);
-extern int print_rate(char *buf, int len, __u32 rate);
-extern int print_size(char *buf, int len, __u32 size);
-extern int print_percent(char *buf, int len, __u32 percent);
-extern int print_qdisc_handle(char *buf, int len, __u32 h);
-extern int print_usecs(char *buf, int len, __u32 usecs);
+extern void print_rate(char *buf, int len, __u32 rate);
+extern void print_size(char *buf, int len, __u32 size);
+extern void print_percent(char *buf, int len, __u32 percent);
+extern void print_qdisc_handle(char *buf, int len, __u32 h);
+extern void print_usecs(char *buf, int len, __u32 usecs);
extern char * sprint_rate(__u32 rate, char *buf);
extern char * sprint_size(__u32 size, char *buf);
extern char * sprint_qdisc_handle(__u32 h, char *buf);