summaryrefslogtreecommitdiffstats
path: root/gl/printf-parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/printf-parse.h')
-rw-r--r--gl/printf-parse.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/gl/printf-parse.h b/gl/printf-parse.h
index e5d68d75..0f2b7082 100644
--- a/gl/printf-parse.h
+++ b/gl/printf-parse.h
@@ -1,5 +1,6 @@
1/* Parse printf format string. 1/* Parse printf format string.
2 Copyright (C) 1999, 2002-2003, 2005, 2007 Free Software Foundation, Inc. 2 Copyright (C) 1999, 2002-2003, 2005, 2007, 2009-2010 Free Software
3 Foundation, Inc.
3 4
4 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
5 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
@@ -26,15 +27,15 @@
26 27
27 28
28/* Flags */ 29/* Flags */
29#define FLAG_GROUP 1 /* ' flag */ 30#define FLAG_GROUP 1 /* ' flag */
30#define FLAG_LEFT 2 /* - flag */ 31#define FLAG_LEFT 2 /* - flag */
31#define FLAG_SHOWSIGN 4 /* + flag */ 32#define FLAG_SHOWSIGN 4 /* + flag */
32#define FLAG_SPACE 8 /* space flag */ 33#define FLAG_SPACE 8 /* space flag */
33#define FLAG_ALT 16 /* # flag */ 34#define FLAG_ALT 16 /* # flag */
34#define FLAG_ZERO 32 35#define FLAG_ZERO 32
35 36
36/* arg_index value indicating that no argument is consumed. */ 37/* arg_index value indicating that no argument is consumed. */
37#define ARG_NONE (~(size_t)0) 38#define ARG_NONE (~(size_t)0)
38 39
39/* xxx_directive: A parsed directive. 40/* xxx_directive: A parsed directive.
40 xxx_directives: A parsed format string. */ 41 xxx_directives: A parsed format string. */
@@ -163,10 +164,10 @@ extern int
163 u8_printf_parse (const uint8_t *format, u8_directives *d, arguments *a); 164 u8_printf_parse (const uint8_t *format, u8_directives *d, arguments *a);
164extern int 165extern int
165 u16_printf_parse (const uint16_t *format, u16_directives *d, 166 u16_printf_parse (const uint16_t *format, u16_directives *d,
166 arguments *a); 167 arguments *a);
167extern int 168extern int
168 u32_printf_parse (const uint32_t *format, u32_directives *d, 169 u32_printf_parse (const uint32_t *format, u32_directives *d,
169 arguments *a); 170 arguments *a);
170#else 171#else
171# ifdef STATIC 172# ifdef STATIC
172STATIC 173STATIC