diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 16:27:12 +0100 |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 16:27:12 +0100 |
commit | 5be04ec2ceb1df77afbca4fcbf9e92a712612d6f (patch) | |
tree | 2b2e1c71dffae827c8e45cd4cccc375093d03486 /gl/error.c | |
parent | 6d1d1dac32841d5ca6ee51bb09b30a6c604b17e2 (diff) | |
download | monitoring-plugins-5be04ec.tar.gz |
Sync with the latest Gnulib code (d4ec02b3cc)
Diffstat (limited to 'gl/error.c')
-rw-r--r-- | gl/error.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* Error handler for noninteractive utilities | 1 | /* Error handler for noninteractive utilities |
2 | Copyright (C) 1990-1998, 2000-2007, 2009-2023 Free Software Foundation, Inc. | 2 | Copyright (C) 1990-1998, 2000-2007, 2009-2024 Free Software Foundation, Inc. |
3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
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 |
@@ -19,9 +19,10 @@ | |||
19 | 19 | ||
20 | #if !_LIBC | 20 | #if !_LIBC |
21 | # include <config.h> | 21 | # include <config.h> |
22 | # define _GL_NO_INLINE_ERROR | ||
22 | #endif | 23 | #endif |
23 | 24 | ||
24 | #include "error.h" | 25 | #include <error.h> |
25 | 26 | ||
26 | #include <stdarg.h> | 27 | #include <stdarg.h> |
27 | #include <stdio.h> | 28 | #include <stdio.h> |
@@ -42,8 +43,6 @@ | |||
42 | # define USE_UNLOCKED_IO 0 | 43 | # define USE_UNLOCKED_IO 0 |
43 | # define _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD(a, b) | 44 | # define _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD(a, b) |
44 | # define _GL_ARG_NONNULL(a) | 45 | # define _GL_ARG_NONNULL(a) |
45 | #else | ||
46 | # include "getprogname.h" | ||
47 | #endif | 46 | #endif |
48 | 47 | ||
49 | #if USE_UNLOCKED_IO | 48 | #if USE_UNLOCKED_IO |