diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-12-28 12:13:40 +0100 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-12-28 12:13:40 +0100 |
| commit | b0afb8fe0ff1d87165af9df61501197a06240dda (patch) | |
| tree | 274ac6a96c53ef4c19ab4974ce24a06a233128c5 /gl/printf-args.h | |
| parent | 68fc05381ee5fa0aee1413118fbb3d81ca888b09 (diff) | |
| download | monitoring-plugins-b0afb8fe0ff1d87165af9df61501197a06240dda.tar.gz | |
Sync with Gnulib stable-202507 code (a8ac9f9ce5)
Diffstat (limited to 'gl/printf-args.h')
| -rw-r--r-- | gl/printf-args.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/gl/printf-args.h b/gl/printf-args.h index 9b80bb39..6edc570c 100644 --- a/gl/printf-args.h +++ b/gl/printf-args.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Decomposed printf argument list. | 1 | /* Decomposed printf argument list. |
| 2 | Copyright (C) 1999, 2002-2003, 2006-2007, 2011-2024 Free Software | 2 | Copyright (C) 1999, 2002-2003, 2006-2007, 2011-2025 Free Software |
| 3 | Foundation, Inc. | 3 | 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 |
| @@ -28,14 +28,9 @@ | |||
| 28 | # define PRINTF_FETCHARGS printf_fetchargs | 28 | # define PRINTF_FETCHARGS printf_fetchargs |
| 29 | #endif | 29 | #endif |
| 30 | 30 | ||
| 31 | /* Get size_t. */ | 31 | /* Get size_t, wchar_t. */ |
| 32 | #include <stddef.h> | 32 | #include <stddef.h> |
| 33 | 33 | ||
| 34 | /* Get wchar_t. */ | ||
| 35 | #if HAVE_WCHAR_T | ||
| 36 | # include <stddef.h> | ||
| 37 | #endif | ||
| 38 | |||
| 39 | /* Get wint_t. */ | 34 | /* Get wint_t. */ |
| 40 | #if HAVE_WINT_T | 35 | #if HAVE_WINT_T |
| 41 | # include <wchar.h> | 36 | # include <wchar.h> |
| @@ -89,9 +84,7 @@ typedef enum | |||
| 89 | TYPE_WIDE_CHAR, | 84 | TYPE_WIDE_CHAR, |
| 90 | #endif | 85 | #endif |
| 91 | TYPE_STRING, | 86 | TYPE_STRING, |
| 92 | #if HAVE_WCHAR_T | ||
| 93 | TYPE_WIDE_STRING, | 87 | TYPE_WIDE_STRING, |
| 94 | #endif | ||
| 95 | TYPE_POINTER, | 88 | TYPE_POINTER, |
| 96 | TYPE_COUNT_SCHAR_POINTER, | 89 | TYPE_COUNT_SCHAR_POINTER, |
| 97 | TYPE_COUNT_SHORT_POINTER, | 90 | TYPE_COUNT_SHORT_POINTER, |
| @@ -154,9 +147,7 @@ typedef struct | |||
| 154 | wint_t a_wide_char; | 147 | wint_t a_wide_char; |
| 155 | #endif | 148 | #endif |
| 156 | const char* a_string; | 149 | const char* a_string; |
| 157 | #if HAVE_WCHAR_T | ||
| 158 | const wchar_t* a_wide_string; | 150 | const wchar_t* a_wide_string; |
| 159 | #endif | ||
| 160 | void* a_pointer; | 151 | void* a_pointer; |
| 161 | signed char * a_count_schar_pointer; | 152 | signed char * a_count_schar_pointer; |
| 162 | short * a_count_short_pointer; | 153 | short * a_count_short_pointer; |
