diff src/lua-test.c @ 1476:aada6ecef7dd

adjusted coding style of the test program of package lua
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 05 Dec 2010 15:41:01 +0100
parents 72864135031e
children f653602a0500
line wrap: on
line diff
--- a/src/lua-test.c	Mon Dec 06 01:31:02 2010 +1100
+++ b/src/lua-test.c	Sun Dec 05 15:41:01 2010 +0100
@@ -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;
 }