summaryrefslogtreecommitdiff
path: root/src/tests/hs_parse_args_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/hs_parse_args_tests.c')
-rw-r--r--src/tests/hs_parse_args_tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/hs_parse_args_tests.c b/src/tests/hs_parse_args_tests.c
index 829c144..e7b331d 100644
--- a/src/tests/hs_parse_args_tests.c
+++ b/src/tests/hs_parse_args_tests.c
@@ -1,5 +1,7 @@
#include "hs_tests.h"
+static int testfunc(lua_State *L) { return 0; }
+
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
* hs_parse_args typechecking tests
@@ -390,8 +392,6 @@ TEST(parse_func)
return 0;
}
-int testfunc(lua_State *L) { return 0; }
-
TEST(parse_cfunc)
{
lua_pushcfunction(L, testfunc);