summaryrefslogtreecommitdiffstats
path: root/src/lua-test.c
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-12-05 14:41:01 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-12-05 14:41:01 (GMT)
commit2e669a02c59b25558ee9a46fc34170071433c7b1 (patch)
treed764de1b16a562bbb573149d4213dfce4f69935b /src/lua-test.c
parent2405db709fd065d64af5a6d1522c449b8ffc8cbf (diff)
downloadmxe-2e669a02c59b25558ee9a46fc34170071433c7b1.zip
mxe-2e669a02c59b25558ee9a46fc34170071433c7b1.tar.gz
mxe-2e669a02c59b25558ee9a46fc34170071433c7b1.tar.bz2
adjusted coding style of the test program of package lua
Diffstat (limited to 'src/lua-test.c')
-rw-r--r--src/lua-test.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lua-test.c b/src/lua-test.c
index f6f208f..efb9126 100644
--- a/src/lua-test.c
+++ b/src/lua-test.c
@@ -5,11 +5,14 @@
#include <lua.h>
#include <lauxlib.h>
-int main (int argc, char **argv) {
+int main(int argc, char *argv[])
+{
+ lua_State *L;
+
(void)argc;
(void)argv;
-
- lua_State *L = lua_open();
+
+ L = lua_open();
lua_close(L);
return 0;
}