summaryrefslogtreecommitdiff
path: root/test/misc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-29 02:56:45 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-29 02:56:45 +0000
commit92a56f367e6635bebf4e519a49943c15d2981d85 (patch)
tree8d0cc34ab7791579c5e7979bc09b5ede8b1bc7be /test/misc
parent55aaeb574609ff7fb7ac93ce4ffe01be0a56f5b7 (diff)
fixup prototype warnings
Diffstat (limited to 'test/misc')
-rw-r--r--test/misc/bug-glob2.c4
-rw-r--r--test/misc/stdarg.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/misc/bug-glob2.c b/test/misc/bug-glob2.c
index 424ff4f48..9e8be983b 100644
--- a/test/misc/bug-glob2.c
+++ b/test/misc/bug-glob2.c
@@ -264,7 +264,7 @@ init_glob_altdirfuncs (glob_t *pglob)
}
-int
+static int
do_test (void)
{
glob_t gl;
@@ -295,7 +295,7 @@ do_test (void)
return 0;
}
#else
-int do_test (void) { return 0; }
+static int do_test (void) { return 0; }
#endif
#define TEST_FUNCTION do_test ()
diff --git a/test/misc/stdarg.c b/test/misc/stdarg.c
index 561fd2c3b..1566e0ce8 100644
--- a/test/misc/stdarg.c
+++ b/test/misc/stdarg.c
@@ -5,7 +5,7 @@
#include <string.h>
#include <sys/types.h>
#include <stdarg.h>
-int foo(const char *format, ...)
+static int foo(const char *format, ...)
{
va_list ap;
size_t len;