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