summaryrefslogtreecommitdiffstats
path: root/gl/unlocked-io.h
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2026-03-26 12:53:53 +0100
committerGitHub <noreply@github.com>2026-03-26 12:53:53 +0100
commit13e14a6bfd9f29cbfeab0c5161d2a994f97532e7 (patch)
tree3aa7186fe092e42783dc7e981dc39a74ea61c466 /gl/unlocked-io.h
parent9d8503f90ef25b2cecd324dc118e441f40233ea8 (diff)
downloadmonitoring-plugins-13e14a6bfd9f29cbfeab0c5161d2a994f97532e7.tar.gz
Update/gnulib 2026 03 (#2247)HEADmaster
* Sync with the 202601-stable Gnulib code (4a3650d887) * Ignore more deps stuff in gnulib * Remove autogenerated gnulib files * Ignore more gnulib generated headers
Diffstat (limited to 'gl/unlocked-io.h')
-rw-r--r--gl/unlocked-io.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/gl/unlocked-io.h b/gl/unlocked-io.h
index 69ea6641..2b0d13e3 100644
--- a/gl/unlocked-io.h
+++ b/gl/unlocked-io.h
@@ -1,6 +1,6 @@
1/* Prefer faster, non-thread-safe stdio functions if available. 1/* Prefer faster, non-thread-safe stdio functions if available.
2 2
3 Copyright (C) 2001-2004, 2009-2025 Free Software Foundation, Inc. 3 Copyright (C) 2001-2004, 2009-2026 Free Software Foundation, Inc.
4 4
5 This program is free software: you can redistribute it and/or modify 5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
@@ -73,6 +73,13 @@
73# define fgets_unlocked(x,y,z) fgets (x,y,z) 73# define fgets_unlocked(x,y,z) fgets (x,y,z)
74# endif 74# endif
75 75
76# if HAVE_DECL_FILENO_UNLOCKED || defined fileno_unlocked
77# undef fileno
78# define fileno(x) fileno_unlocked (x)
79# else
80# define fileno_unlocked(x) fileno (x)
81# endif
82
76# if HAVE_DECL_FPUTC_UNLOCKED || defined fputc_unlocked 83# if HAVE_DECL_FPUTC_UNLOCKED || defined fputc_unlocked
77# undef fputc 84# undef fputc
78# define fputc(x,y) fputc_unlocked (x,y) 85# define fputc(x,y) fputc_unlocked (x,y)