summaryrefslogtreecommitdiff
path: root/gl/printf-args.h
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2011-02-20 16:25:16 +0100
committerSimon Josefsson <simon@josefsson.org>2011-02-20 16:26:21 +0100
commitaee017b8888c904c42a303586f05a193f778cedb (patch)
treea44f8ee5f243968fdef3bc5f5719387360831479 /gl/printf-args.h
parent8f177e5e8fc4ea89d3611be2a70832147dba5e82 (diff)
downloadgnutls-aee017b8888c904c42a303586f05a193f778cedb.tar.gz
Update gnulib files.
Diffstat (limited to 'gl/printf-args.h')
-rw-r--r--gl/printf-args.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gl/printf-args.h b/gl/printf-args.h
index 2536ebafd3..70cca4fb65 100644
--- a/gl/printf-args.h
+++ b/gl/printf-args.h
@@ -1,5 +1,5 @@
/* Decomposed printf argument list.
- Copyright (C) 1999, 2002-2003, 2006-2007, 2009-2010 Free Software
+ Copyright (C) 1999, 2002-2003, 2006-2007, 2011 Free Software
Foundation, Inc.
This program is free software; you can redistribute it and/or modify
@@ -136,10 +136,14 @@ typedef struct
}
argument;
+/* Number of directly allocated arguments (no malloc() needed). */
+#define N_DIRECT_ALLOC_ARGUMENTS 7
+
typedef struct
{
size_t count;
argument *arg;
+ argument direct_alloc_arg[N_DIRECT_ALLOC_ARGUMENTS];
}
arguments;