Przeglądaj źródła

tests: Make functions used in tests static

Ole Krüger 10 lat temu
rodzic
commit
55933e6216
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      tests/stack.cpp

+ 3 - 0
tests/stack.cpp

@@ -3,14 +3,17 @@
 #include <lua.hpp>
 #include <luwra.hpp>
 
+static
 int test_function_1(int a, int b) {
 	return a - b;
 }
 
+static
 int test_function_2(int a, int b, int c) {
 	return a + b * c;
 }
 
+static
 void test_function_3(int) {
 
 }