diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-01-09 14:57:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-09 14:57:57 +0100 |
| commit | da4fb28fca51b180d50608b0c847b1c0927cd8c5 (patch) | |
| tree | d20769e0a61ac2ba76920190050d3e0a3e7c85b7 /gl/strerror.c | |
| parent | b09a8b530df8a23610889d0b89b148f22db3568a (diff) | |
| parent | f694f4cd4dfead0da6feab04d92335d9bbe185b6 (diff) | |
| download | monitoring-plugins-da4fb28fca51b180d50608b0c847b1c0927cd8c5.tar.gz | |
Merge branch 'master' into refactor/check_ide_smart
Diffstat (limited to 'gl/strerror.c')
| -rw-r--r-- | gl/strerror.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gl/strerror.c b/gl/strerror.c index 6b760ff4..72572ae4 100644 --- a/gl/strerror.c +++ b/gl/strerror.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* strerror.c --- POSIX compatible system error routine | 1 | /* strerror.c --- POSIX compatible system error routine |
| 2 | 2 | ||
| 3 | Copyright (C) 2007-2024 Free Software Foundation, Inc. | 3 | Copyright (C) 2007-2025 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is free software: you can redistribute it and/or modify | 5 | This file is free software: you can redistribute it and/or modify |
| 6 | it under the terms of the GNU Lesser General Public License as | 6 | it under the terms of the GNU Lesser General Public License as |
| @@ -31,6 +31,12 @@ | |||
| 31 | /* Use the system functions, not the gnulib overrides in this file. */ | 31 | /* Use the system functions, not the gnulib overrides in this file. */ |
| 32 | #undef sprintf | 32 | #undef sprintf |
| 33 | 33 | ||
| 34 | /* macOS 12's "warning: 'sprintf' is deprecated" is pointless, | ||
| 35 | as sprintf is used safely here. */ | ||
| 36 | #if defined __APPLE__ && defined __MACH__ && _GL_GNUC_PREREQ (4, 2) | ||
| 37 | # pragma GCC diagnostic ignored "-Wdeprecated-declarations" | ||
| 38 | #endif | ||
| 39 | |||
| 34 | char * | 40 | char * |
| 35 | strerror (int n) | 41 | strerror (int n) |
| 36 | #undef strerror | 42 | #undef strerror |
