maint: update copyright
[gnulib.git] / lib / c-vasnprintf.c
1 /* Formatted output to strings in C locale.
2    Copyright (C) 2009-2014 Free Software Foundation, Inc.
3
4    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    the Free Software Foundation; either version 3 of the License, or
7    (at your option) any later version.
8
9    This program is distributed in the hope that it will be useful,
10    but WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12    GNU General Public License for more details.
13
14    You should have received a copy of the GNU General Public License
15    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
16
17 #include <config.h>
18
19 #include <string.h>
20
21 #include "printf-parse.h"
22
23 #define VASNPRINTF c_vasnprintf
24 #define FCHAR_T char
25 #define DCHAR_T char
26 #define DIRECTIVE char_directive
27 #define DIRECTIVES char_directives
28 #define PRINTF_PARSE printf_parse
29 #define DCHAR_CPY memcpy
30 #define DCHAR_SET memset
31 #define DCHAR_IS_TCHAR 1
32 #define TCHAR_T char
33
34 #define NEED_PRINTF_DOUBLE 1
35 #define NEED_PRINTF_LONG_DOUBLE 1
36 #define decimal_point_char_defined 1
37 static char
38 decimal_point_char (void)
39 {
40   return '.';
41 }
42
43 #include "vasnprintf.c"