소스 검색

tests: Make functions used in tests static

Ole Krüger 10 년 전
부모
커밋
55933e6216
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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) {
 
 }