xref: /netbsd-src/external/gpl2/gettext/dist/gettext-runtime/libasprintf/lib-asprintf.c (revision 946379e7b37692fc43f68eb0d1c10daa0a7f3b6c)
1*946379e7Schristos /* Library functions for class autosprintf.
2*946379e7Schristos    Copyright (C) 2002-2003, 2006 Free Software Foundation, Inc.
3*946379e7Schristos    Written by Bruno Haible <bruno@clisp.org>, 2002.
4*946379e7Schristos 
5*946379e7Schristos    This program is free software; you can redistribute it and/or modify it
6*946379e7Schristos    under the terms of the GNU Library General Public License as published
7*946379e7Schristos    by the Free Software Foundation; either version 2, or (at your option)
8*946379e7Schristos    any later version.
9*946379e7Schristos 
10*946379e7Schristos    This program is distributed in the hope that it will be useful,
11*946379e7Schristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
12*946379e7Schristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13*946379e7Schristos    Library General Public License for more details.
14*946379e7Schristos 
15*946379e7Schristos    You should have received a copy of the GNU Library General Public
16*946379e7Schristos    License along with this program; if not, write to the Free Software
17*946379e7Schristos    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
18*946379e7Schristos    USA.  */
19*946379e7Schristos 
20*946379e7Schristos #include <config.h>
21*946379e7Schristos 
22*946379e7Schristos #if !(HAVE_VASPRINTF && HAVE_POSIX_PRINTF)
23*946379e7Schristos 
24*946379e7Schristos #define STATIC static
25*946379e7Schristos 
26*946379e7Schristos /* Define auxiliary functions declared in "printf-args.h".  */
27*946379e7Schristos #include "printf-args.c"
28*946379e7Schristos 
29*946379e7Schristos /* Define auxiliary functions declared in "printf-parse.h".  */
30*946379e7Schristos #include "printf-parse.c"
31*946379e7Schristos 
32*946379e7Schristos /* Define functions declared in "vasnprintf.h".  */
33*946379e7Schristos #include "vasnprintf.c"
34*946379e7Schristos #include "asnprintf.c"
35*946379e7Schristos 
36*946379e7Schristos /* Define functions declared in "vasprintf.h".  */
37*946379e7Schristos #include "vasprintf.c"
38*946379e7Schristos #include "asprintf.c"
39*946379e7Schristos 
40*946379e7Schristos #endif
41