summaryrefslogtreecommitdiffhomepage
path: root/libs/iwinfo/src/iwinfo_lualib.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-08-11 14:20:57 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-08-11 14:20:57 +0000
commit20cadd41ca926b233e0ff5ee2e11a8fb2e5e1fb5 (patch)
tree565851f271c52f6c534cc915072cf345ae6a0fd3 /libs/iwinfo/src/iwinfo_lualib.h
parent444e39b0936f26ddfed35b13d095de2c41ec611a (diff)
libs/iwinfo: make lua wrapper functions static
Diffstat (limited to 'libs/iwinfo/src/iwinfo_lualib.h')
-rw-r--r--libs/iwinfo/src/iwinfo_lualib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/iwinfo/src/iwinfo_lualib.h b/libs/iwinfo/src/iwinfo_lualib.h
index 9840466f04..ca1a4421c9 100644
--- a/libs/iwinfo/src/iwinfo_lualib.h
+++ b/libs/iwinfo/src/iwinfo_lualib.h
@@ -35,7 +35,7 @@
{ #op, iwinfo_L_##type##_##op }
#define LUA_WRAP_INT(type,op) \
- int iwinfo_L_##type##_##op(lua_State *L) \
+ static int iwinfo_L_##type##_##op(lua_State *L) \
{ \
const char *ifname = luaL_checkstring(L, 1); \
int rv; \
@@ -47,7 +47,7 @@
}
#define LUA_WRAP_STRING(type,op) \
- int iwinfo_L_##type##_##op(lua_State *L) \
+ static int iwinfo_L_##type##_##op(lua_State *L) \
{ \
const char *ifname = luaL_checkstring(L, 1); \
char rv[IWINFO_BUFSIZE]; \
@@ -60,7 +60,7 @@
}
#define LUA_WRAP_ASSOCLIST(type) \
- int iwinfo_L_##type##_assoclist(lua_State *L) \
+ static int iwinfo_L_##type##_assoclist(lua_State *L)\
{ \
return iwinfo_L_assoclist(L, \
type##_get_assoclist); \