aboutsummaryrefslogtreecommitdiff
path: root/loslib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-11-24 10:05:44 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-11-24 10:05:44 -0200
commita6f465f55802989c1656d1a3b030c315c8ef2690 (patch)
treed82e6d23612d42957341f3e8bd53937c267a1d1e /loslib.c
parent9a41506b8f26e387493880e0affc2e23d604a97e (diff)
downloadlua-a6f465f55802989c1656d1a3b030c315c8ef2690.tar.gz
lua-a6f465f55802989c1656d1a3b030c315c8ef2690.tar.bz2
lua-a6f465f55802989c1656d1a3b030c315c8ef2690.zip
new mark LUAMOD_API for all luaopen_* functions
Diffstat (limited to 'loslib.c')
-rw-r--r--loslib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loslib.c b/loslib.c
index 7ab3c4e9..70d5b1eb 100644
--- a/loslib.c
+++ b/loslib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: loslib.c,v 1.25 2009/08/25 19:58:08 roberto Exp roberto $ 2** $Id: loslib.c,v 1.26 2009/11/23 18:20:38 roberto Exp roberto $
3** Standard Operating System library 3** Standard Operating System library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -264,7 +264,7 @@ static const luaL_Reg syslib[] = {
264 264
265 265
266 266
267LUALIB_API int luaopen_os (lua_State *L) { 267LUAMOD_API int luaopen_os (lua_State *L) {
268 luaL_register(L, LUA_OSLIBNAME, syslib); 268 luaL_register(L, LUA_OSLIBNAME, syslib);
269 return 1; 269 return 1;
270} 270}