diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-05-19 14:35:22 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-05-19 14:35:22 +0200 |
commit | 6da10c31d5e9cbebc2ab0a3aad43ef512d513eb6 (patch) | |
tree | 759faeb45ff429630069ca879a3005fa3f6b8d26 | |
parent | 8e4d81cca7e924bbbe62be055377d06e22d6f786 (diff) | |
download | gnutls-6da10c31d5e9cbebc2ab0a3aad43ef512d513eb6.tar.gz |
Update gnulib files.
-rw-r--r-- | lgl/vasnprintf.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lgl/vasnprintf.c b/lgl/vasnprintf.c index 4583f7d865..d9504d88d7 100644 --- a/lgl/vasnprintf.c +++ b/lgl/vasnprintf.c @@ -200,6 +200,13 @@ local_wcslen (const wchar_t *s) /* Here we need to call the native sprintf, not rpl_sprintf. */ #undef sprintf +/* Avoid some warnings from "gcc -Wshadow". + This file doesn't use the exp() and remainder() functions. */ +#undef exp +#define exp expo +#undef remainder +#define remainder rem + #if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE) && !defined IN_LIBINTL /* Determine the decimal-point character according to the current locale. */ # ifndef decimal_point_char_defined |