summaryrefslogtreecommitdiffstats
path: root/gl/printf-args.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/printf-args.h')
-rw-r--r--gl/printf-args.h30
1 files changed, 11 insertions, 19 deletions
diff --git a/gl/printf-args.h b/gl/printf-args.h
index 2a9c2a3..c8d9174 100644
--- a/gl/printf-args.h
+++ b/gl/printf-args.h
@@ -1,19 +1,19 @@
1/* Decomposed printf argument list. 1/* Decomposed printf argument list.
2 Copyright (C) 1999, 2002-2003, 2006-2007, 2011-2013 Free Software 2 Copyright (C) 1999, 2002-2003, 2006-2007, 2011-2021 Free Software
3 Foundation, Inc. 3 Foundation, Inc.
4 4
5 This program 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 General Public License as published by 6 it under the terms of the GNU Lesser General Public License as
7 the Free Software Foundation; either version 3, or (at your option) 7 published by the Free Software Foundation; either version 2.1 of the
8 any later version. 8 License, or (at your option) any later version.
9 9
10 This program is distributed in the hope that it will be useful, 10 This file is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details. 13 GNU Lesser General Public License for more details.
14 14
15 You should have received a copy of the GNU General Public License along 15 You should have received a copy of the GNU Lesser General Public License
16 with this program; if not, see <http://www.gnu.org/licenses/>. */ 16 along with this program. If not, see <https://www.gnu.org/licenses/>. */
17 17
18#ifndef _PRINTF_ARGS_H 18#ifndef _PRINTF_ARGS_H
19#define _PRINTF_ARGS_H 19#define _PRINTF_ARGS_H
@@ -57,10 +57,8 @@ typedef enum
57 TYPE_UINT, 57 TYPE_UINT,
58 TYPE_LONGINT, 58 TYPE_LONGINT,
59 TYPE_ULONGINT, 59 TYPE_ULONGINT,
60#if HAVE_LONG_LONG_INT
61 TYPE_LONGLONGINT, 60 TYPE_LONGLONGINT,
62 TYPE_ULONGLONGINT, 61 TYPE_ULONGLONGINT,
63#endif
64 TYPE_DOUBLE, 62 TYPE_DOUBLE,
65 TYPE_LONGDOUBLE, 63 TYPE_LONGDOUBLE,
66 TYPE_CHAR, 64 TYPE_CHAR,
@@ -75,10 +73,8 @@ typedef enum
75 TYPE_COUNT_SCHAR_POINTER, 73 TYPE_COUNT_SCHAR_POINTER,
76 TYPE_COUNT_SHORT_POINTER, 74 TYPE_COUNT_SHORT_POINTER,
77 TYPE_COUNT_INT_POINTER, 75 TYPE_COUNT_INT_POINTER,
78 TYPE_COUNT_LONGINT_POINTER 76 TYPE_COUNT_LONGINT_POINTER,
79#if HAVE_LONG_LONG_INT 77 TYPE_COUNT_LONGLONGINT_POINTER
80, TYPE_COUNT_LONGLONGINT_POINTER
81#endif
82#if ENABLE_UNISTDIO 78#if ENABLE_UNISTDIO
83 /* The unistdio extensions. */ 79 /* The unistdio extensions. */
84, TYPE_U8_STRING 80, TYPE_U8_STRING
@@ -101,10 +97,8 @@ typedef struct
101 unsigned int a_uint; 97 unsigned int a_uint;
102 long int a_longint; 98 long int a_longint;
103 unsigned long int a_ulongint; 99 unsigned long int a_ulongint;
104#if HAVE_LONG_LONG_INT
105 long long int a_longlongint; 100 long long int a_longlongint;
106 unsigned long long int a_ulonglongint; 101 unsigned long long int a_ulonglongint;
107#endif
108 float a_float; 102 float a_float;
109 double a_double; 103 double a_double;
110 long double a_longdouble; 104 long double a_longdouble;
@@ -121,9 +115,7 @@ typedef struct
121 short * a_count_short_pointer; 115 short * a_count_short_pointer;
122 int * a_count_int_pointer; 116 int * a_count_int_pointer;
123 long int * a_count_longint_pointer; 117 long int * a_count_longint_pointer;
124#if HAVE_LONG_LONG_INT
125 long long int * a_count_longlongint_pointer; 118 long long int * a_count_longlongint_pointer;
126#endif
127#if ENABLE_UNISTDIO 119#if ENABLE_UNISTDIO
128 /* The unistdio extensions. */ 120 /* The unistdio extensions. */
129 const uint8_t * a_u8_string; 121 const uint8_t * a_u8_string;