libiproute: handle table ids larger than 255
[oweals/busybox.git] / networking / libiproute / rtm_map.h
index cbbcc214d4081aa46d18278530879435f66558bd..63b665169d92bb1e0f7222f21acabf02e726db25 100644 (file)
@@ -1,11 +1,14 @@
 /* vi: set sw=4 ts=4: */
-#ifndef __RTM_MAP_H__
-#define __RTM_MAP_H__ 1
+#ifndef RTM_MAP_H
+#define RTM_MAP_H 1
 
-const char *rtnl_rtntype_n2a(int id, char *buf, int len);
-int rtnl_rtntype_a2n(int *id, char *arg);
+PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
 
-int get_rt_realms(uint32_t *realms, char *arg);
+const char *rtnl_rtntype_n2a(int id) FAST_FUNC;
+int rtnl_rtntype_a2n(int *id, char *arg) FAST_FUNC;
 
+int get_rt_realms(uint32_t *realms, char *arg) FAST_FUNC;
 
-#endif /* __RTM_MAP_H__ */
+POP_SAVED_FUNCTION_VISIBILITY
+
+#endif