Quellcode durchsuchen

tests: Make functions used in tests static

Ole Krüger vor 10 Jahren
Ursprung
Commit
55933e6216
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  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) {
 
 }