summaryrefslogtreecommitdiff
path: root/tests/test-vsnprintf-posix.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-04-03 00:07:16 +0200
committerBruno Haible <bruno@clisp.org>2008-04-03 00:07:16 +0200
commitb93d3c84b3547d092bb69ea983ac87573f0a5ad3 (patch)
tree13330a088e2953937abff6b2bee7f6e3e4d41d7f /tests/test-vsnprintf-posix.c
parent2ada70ab05b07aaa3ec052bb0025678c422311e3 (diff)
downloadgnulib-b93d3c84b3547d092bb69ea983ac87573f0a5ad3.tar.gz
Avoid some warnings from "gcc -Wshadow".
Diffstat (limited to 'tests/test-vsnprintf-posix.c')
-rw-r--r--tests/test-vsnprintf-posix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-vsnprintf-posix.c b/tests/test-vsnprintf-posix.c
index 110cf69210..841a1ec668 100644
--- a/tests/test-vsnprintf-posix.c
+++ b/tests/test-vsnprintf-posix.c
@@ -1,5 +1,5 @@
/* Test of POSIX compatible vsnprintf() function.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007-2008 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -40,6 +40,8 @@
} \
while (0)
+#include "test-snprintf-posix.h"
+
static int
my_snprintf (char *str, size_t size, const char *format, ...)
{
@@ -52,8 +54,6 @@ my_snprintf (char *str, size_t size, const char *format, ...)
return ret;
}
-#include "test-snprintf-posix.h"
-
int
main (int argc, char *argv[])
{