tests: avoid some compiler warnings
[gnulib.git] / tests / test-getaddrinfo.c
index eeea3f7..384b98b 100644 (file)
@@ -44,7 +44,8 @@
 # define EAI_SERVICE 0
 #endif
 
-int simple (char *host, char *service)
+static int
+simple (char const *host, char const *service)
 {
   char buf[BUFSIZ];
   static int skip = 0;