diff options
Diffstat (limited to 'testes/libs')
| -rw-r--r-- | testes/libs/lib11.c | 2 | ||||
| -rw-r--r-- | testes/libs/makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testes/libs/lib11.c b/testes/libs/lib11.c index 377d0c48..6a85f4d6 100644 --- a/testes/libs/lib11.c +++ b/testes/libs/lib11.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #include "lua.h" | 1 | #include "lua.h" |
| 2 | 2 | ||
| 3 | /* function from lib1.c */ | 3 | /* function from lib1.c */ |
| 4 | int lib1_export (lua_State *L); | 4 | LUAMOD_API int lib1_export (lua_State *L); |
| 5 | 5 | ||
| 6 | LUAMOD_API int luaopen_lib11 (lua_State *L) { | 6 | LUAMOD_API int luaopen_lib11 (lua_State *L) { |
| 7 | return lib1_export(L); | 7 | return lib1_export(L); |
diff --git a/testes/libs/makefile b/testes/libs/makefile index 4e7f965e..cf4c6881 100644 --- a/testes/libs/makefile +++ b/testes/libs/makefile | |||
| @@ -5,7 +5,7 @@ LUA_DIR = ../../ | |||
| 5 | CC = gcc | 5 | CC = gcc |
| 6 | 6 | ||
| 7 | # compilation should generate Dynamic-Link Libraries | 7 | # compilation should generate Dynamic-Link Libraries |
| 8 | CFLAGS = -Wall -std=c99 -O2 -I$(LUA_DIR) -fPIC -shared | 8 | CFLAGS = -Wall -O2 -I$(LUA_DIR) -fPIC -shared |
| 9 | 9 | ||
| 10 | # libraries used by the tests | 10 | # libraries used by the tests |
| 11 | all: lib1.so lib11.so lib2.so lib21.so lib2-v2.so | 11 | all: lib1.so lib11.so lib2.so lib21.so lib2-v2.so |
