Make functions static in unittests
[binutils-gdb.git] / gdb / unittests / basic_string_view / operations / find / char / 1.cc
index fe769eba1c130813a50100c9c8f7622538265b8b..ee36cb04794188f41ac69366debe46323608ab80 100644 (file)
@@ -21,8 +21,8 @@
 
 namespace operations_find_1 {
 
-void
-test01()
+static void
+test01 ()
 {
   typedef gdb::string_view::size_type csize_type;
   typedef gdb::string_view::const_reference cref;
@@ -154,8 +154,8 @@ test02()
 }
 #endif
 
-int
-main()
+static int
+main ()
 {
   test01();
 #ifndef GDB_STRING_VIEW