summaryrefslogtreecommitdiffstats
path: root/gl/printf-args.h
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-08-19 21:27:12 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-08-19 21:27:12 (GMT)
commit26fbe7f1e68bb0c96da32491efcf3696fe6c299b (patch)
treec4d95289187a64e9c7517bf73d8208026c3d2fb3 /gl/printf-args.h
parent5f79e3e9f62ca5487d9881973149136ba1d19d3e (diff)
downloadmonitoring-plugins-26fbe7f1e68bb0c96da32491efcf3696fe6c299b.tar.gz
Sync with the latest Gnulib code (6f2d632)
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