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.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/gl/printf-args.h b/gl/printf-args.h
index 2536eba..2a9c2a3 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, 2009-2010 Free Software 2 Copyright (C) 1999, 2002-2003, 2006-2007, 2011-2013 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 program is free software; you can redistribute it and/or modify
@@ -13,8 +13,7 @@
13 GNU General Public License for more details. 13 GNU 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 General Public License along
16 with this program; if not, write to the Free Software Foundation, 16 with this program; if not, see <http://www.gnu.org/licenses/>. */
17 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
18 17
19#ifndef _PRINTF_ARGS_H 18#ifndef _PRINTF_ARGS_H
20#define _PRINTF_ARGS_H 19#define _PRINTF_ARGS_H
@@ -136,10 +135,14 @@ typedef struct
136} 135}
137argument; 136argument;
138 137
138/* Number of directly allocated arguments (no malloc() needed). */
139#define N_DIRECT_ALLOC_ARGUMENTS 7
140
139typedef struct 141typedef struct
140{ 142{
141 size_t count; 143 size_t count;
142 argument *arg; 144 argument *arg;
145 argument direct_alloc_arg[N_DIRECT_ALLOC_ARGUMENTS];
143} 146}
144arguments; 147arguments;
145 148