From 6b89b9b2b63e9e25bf91f88bab4163a497bfcca4 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 18 Jul 2016 18:35:05 +0000 Subject: cope with -Wmissing-prototypes --- test-vasprintf.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'test-vasprintf.c') diff --git a/test-vasprintf.c b/test-vasprintf.c index bdb4408e..ee6980a2 100644 --- a/test-vasprintf.c +++ b/test-vasprintf.c @@ -1,4 +1,4 @@ -/* $Id: test-vasprintf.c,v 1.3 2015/10/06 18:32:20 schwarze Exp $ */ +/* $Id: test-vasprintf.c,v 1.4 2016/07/18 18:35:05 schwarze Exp $ */ /* * Copyright (c) 2015 Ingo Schwarze * @@ -23,7 +23,10 @@ #include #include -int +static int testfunc(char **, const char *, ...); + + +static int testfunc(char **ret, const char *format, ...) { va_list ap; -- cgit v1.2.3-56-ge451