diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-11-06 09:24:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-06 09:24:23 +0100 |
| commit | 9b4df9e50837cc837e113053ba12ee6967d5e6c2 (patch) | |
| tree | bf989e771579f835bcb49c074637a8e224bcecbc /gl/error.c | |
| parent | 94150ae347beb25ac369d5773834ceef7f3736d3 (diff) | |
| parent | 5be04ec2ceb1df77afbca4fcbf9e92a712612d6f (diff) | |
| download | monitoring-plugins-9b4df9e50837cc837e113053ba12ee6967d5e6c2.tar.gz | |
Merge pull request #2037 from RincewindsHat/update/gnulib-1.0
Sync with the latest Gnulib code (d4ec02b3cc) (gnulib v1.0)
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 |
