summaryrefslogtreecommitdiff
path: root/lib/sched.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sched.in.h')
-rw-r--r--lib/sched.in.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/sched.in.h b/lib/sched.in.h
index 57c60532..cb8ceca0 100644
--- a/lib/sched.in.h
+++ b/lib/sched.in.h
@@ -1,5 +1,5 @@
/* A GNU-like <sched.h>.
- Copyright (C) 2008-2024 Free Software Foundation, Inc.
+ Copyright (C) 2008-2026 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
@@ -46,7 +46,7 @@
/* Get pid_t.
This is needed on glibc 2.11 (see
- glibc bug <https://sourceware.org/bugzilla/show_bug.cgi?id=13198>)
+ glibc bug <https://sourceware.org/PR13198>)
and Mac OS X 10.5. */
#include <sys/types.h>
@@ -100,7 +100,6 @@ _GL_CXXALIAS_SYS (sched_yield, int, (void));
_GL_CXXALIASWARN (sched_yield);
# endif
#elif defined GNULIB_POSIXCHECK
-# undef sched_yield
# if HAVE_RAW_DECL_SCHED_YIELD
_GL_WARN_ON_USE (sched_yield, "sched_yield is not portable - "
"use gnulib module sched_yield for portability");