summaryrefslogtreecommitdiff
path: root/test/misc/stdarg.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/misc/stdarg.c')
-rw-r--r--test/misc/stdarg.c2
1 files changed, 1 insertions, 1 deletions
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;