On 7/10/18 3:05 PM, Stephen Hemminger wrote:
> From: Stephen Hemminger <[email protected]>
>
> Add a helper to print rate, time and size in numeric or pretty format
> based on JSON flag.
>
> Signed-off-by: Stephen Hemminger <[email protected]>
> ---
> tc/tc_util.c | 83 +++++++++++++++++++++++++++++++++-------------------
> tc/tc_util.h | 6 ++++
> 2 files changed, 59 insertions(+), 30 deletions(-)
This one fails to compile on Stretch:
tc
CC tc_util.o
tc_util.c:388:6: error: conflicting types for ‘print_time’
void print_time(const char *key, const char *fmt, __u32 tm)
^~~~~~~~~~
In file included from tc_util.c:27:0:
tc_util.h:92:6: note: previous declaration of ‘print_time’ was here
void print_time(const char *key, const char *fmt, __s32 tm);
^~~~~~~~~~
../config.mk:43: recipe for target 'tc_util.o' failed