diff options
Diffstat (limited to 'stdlib/tst-environ.c')
-rw-r--r-- | stdlib/tst-environ.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/stdlib/tst-environ.c b/stdlib/tst-environ.c index 3316d7e555..9871bd73d4 100644 --- a/stdlib/tst-environ.c +++ b/stdlib/tst-environ.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1999-2014 Free Software Foundation, Inc. +/* Copyright (C) 1999-2015 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -25,8 +25,8 @@ char putenv_val[100] = VAR "=some longer value"; -int -main (void) +static int +do_test (void) { int result = 0; const char *valp; @@ -219,3 +219,6 @@ main (void) return result; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |