From e3c27c2db68d2dc0e9816fd70d80fda7f9aea2ec Mon Sep 17 00:00:00 2001 From: Zhang Shengju Date: Fri, 14 Aug 2015 01:36:20 +0000 Subject: [PATCH] utils: add missing return value Add missing return value to fix warnings Signed-off-by: Zhang Shengju --- include/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/utils.h b/include/utils.h index 95d162ce..0c57ccdc 100644 --- a/include/utils.h +++ b/include/utils.h @@ -137,7 +137,7 @@ const char *mpls_ntop(int af, const void *addr, char *str, size_t len); int mpls_pton(int af, const char *src, void *addr); extern int __iproute2_hz_internal; -__get_hz(void); +int __get_hz(void); static __inline__ int get_hz(void) {