summaryrefslogtreecommitdiff
path: root/tests/test-posix_spawn1.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2018-09-18 20:18:38 +0200
committerBruno Haible <bruno@clisp.org>2018-09-18 20:23:21 +0200
commit0edc0a1297a8900a41930108f8fa0904e1cb1e37 (patch)
treea6403cb119d78cc2323b62859e4c3f4a7d102fd6 /tests/test-posix_spawn1.c
parent0a1ced59e6fb3c3b11c423e51002c57920480b24 (diff)
downloadgnulib-0edc0a1297a8900a41930108f8fa0904e1cb1e37.tar.gz
posix_spawn tests: Fix link error on 64-bit Cygwin.
* tests/test-posix_spawn1.c (environ): Remove declaration. * tests/test-posix_spawn2.c (environ): Likewise. * tests/test-posix_spawn3.c (environ): Likewise. * tests/test-posix_spawn4.c (environ): Likewise. * modules/posix_spawn-tests (Depends-on): Add 'environ'. * modules/posix_spawnp-tests (Depends-on): Likewise.
Diffstat (limited to 'tests/test-posix_spawn1.c')
-rw-r--r--tests/test-posix_spawn1.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test-posix_spawn1.c b/tests/test-posix_spawn1.c
index fad02377ae..6b6c864f4d 100644
--- a/tests/test-posix_spawn1.c
+++ b/tests/test-posix_spawn1.c
@@ -53,8 +53,6 @@ SIGNATURE_CHECK (posix_spawn_file_actions_adddup2, int,
#include <sys/types.h>
#include <sys/wait.h>
-extern char **environ;
-
#define CHILD_PROGRAM_FILENAME "test-posix_spawn1.sh"
static int