summaryrefslogtreecommitdiffstats
path: root/test-vasprintf.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-07-18 18:35:05 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-07-18 18:35:05 +0000
commit0d64a6e6bb89ff458faef3450acd365244bcf4a8 (patch)
treef2e367f308c4249311888c3cd21ccbb72096177d /test-vasprintf.c
parent2d3d5f5fd44b5ad2d7a6e25fce7aa4778e4a3a7b (diff)
downloadmandoc-0d64a6e6bb89ff458faef3450acd365244bcf4a8.tar.gz
cope with -Wmissing-prototypes
Diffstat (limited to 'test-vasprintf.c')
-rw-r--r--test-vasprintf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test-vasprintf.c b/test-vasprintf.c
index 660ba5f5..017a56df 100644
--- a/test-vasprintf.c
+++ b/test-vasprintf.c
@@ -23,7 +23,10 @@
#include <stdio.h>
#include <string.h>
-int
+static int testfunc(char **, const char *, ...);
+
+
+static int
testfunc(char **ret, const char *format, ...)
{
va_list ap;