From 13463af29f1fd904cc0ea5e0bd0acdabd8431e53 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 31 Dec 2006 18:58:32 +0000 Subject: remove commented out #includes etc move get_hz to the only caller --- networking/libiproute/utils.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'networking/libiproute/utils.h') diff --git a/networking/libiproute/utils.h b/networking/libiproute/utils.h index 3ecbb3abd..c8ac63197 100644 --- a/networking/libiproute/utils.h +++ b/networking/libiproute/utils.h @@ -3,8 +3,6 @@ #define __UTILS_H__ 1 #include "libbb.h" -//#include -//#include #include "libnetlink.h" #include "ll_map.h" @@ -90,14 +88,4 @@ int dnet_pton(int af, const char *src, void *addr); const char *ipx_ntop(int af, const void *addr, char *str, size_t len); int ipx_pton(int af, const char *src, void *addr); -extern int __iproute2_hz_internal; -extern int __get_hz(void); - -static inline int get_hz(void) -{ - if (__iproute2_hz_internal == 0) - __iproute2_hz_internal = __get_hz(); - return __iproute2_hz_internal; -} - #endif /* __UTILS_H__ */ -- cgit v1.2.3