support: Simplify compiling most of support/ outside of glibc
[glibc.git] / stdlib / tst-putenv.c
blob47513ea42b173169341c33b65fe4a67e780175c3
1 #include <stdio.h>
2 #include <stdlib.h>
4 static int
5 do_test (void)
7 char *p = getenv ("SOMETHING_NOBODY_USES");
8 if (p == NULL)
10 puts ("envvar not defined");
11 return 1;
14 return 0;
17 #define TEST_FUNCTION do_test ()
18 #include "../test-skeleton.c"