Selaa lähdekoodia

tests: Make functions used in tests static

Ole Krüger 10 vuotta sitten
vanhempi
commit
55933e6216
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  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) {
 
 }