summaryrefslogtreecommitdiffstats
path: root/lib/spawni.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 08:55:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 08:55:47 +0000
commitcd10ccf4d1b4671883a0d45f6769947a6cdb45d0 (patch)
treeb14481899a2c6c4dd53beed82f0f61c6f77254d1 /lib/spawni.c
parentAdding upstream version 1.21.4. (diff)
downloadwget-upstream.tar.xz
wget-upstream.zip
Adding upstream version 1.24.5.upstream/1.24.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/spawni.c')
-rw-r--r--lib/spawni.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spawni.c b/lib/spawni.c
index cc9511f..8ddf9c5 100644
--- a/lib/spawni.c
+++ b/lib/spawni.c
@@ -1,5 +1,5 @@
/* Guts of POSIX spawn interface. Generic POSIX.1 version.
- Copyright (C) 2000-2006, 2008-2023 Free Software Foundation, Inc.
+ Copyright (C) 2000-2006, 2008-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
This file is free software: you can redistribute it and/or modify
@@ -857,7 +857,7 @@ __spawni (pid_t *pid, const char *prog_filename,
/* The warning "warning: 'vfork' is deprecated: Use posix_spawn or fork" seen
on macOS 12 is pointless, as we use vfork only when it is safe or when the
user has explicitly requested it. Silence this warning. */
-#if __GNUC__ >= 3
+#if _GL_GNUC_PREREQ (4, 2)
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif