diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-16 18:17:59 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-16 18:17:59 +0000 |
commit | 8c67f4a7a4cf1af7d19388587fe38049dccb52bd (patch) | |
tree | 3fa9ccfa12cd4c04e54bd54e904031e530a017db | |
parent | c0ffa5031a4d798583c874b980d35d2689f6160f (diff) |
Adapt some missed prototypes
-rw-r--r-- | libc/sysdeps/linux/common/bits/uClibc_fpmax.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_fpmax.h b/libc/sysdeps/linux/common/bits/uClibc_fpmax.h index 690f7b23b..98ed49cfd 100644 --- a/libc/sysdeps/linux/common/bits/uClibc_fpmax.h +++ b/libc/sysdeps/linux/common/bits/uClibc_fpmax.h @@ -98,21 +98,23 @@ typedef float __fpmax_t; #endif /* DECIMAL_DIG */ -extern __fpmax_t __strtofpmax(const char *str, char **endptr, int exp_adjust); +if defined _LIBC && defined IS_IN_libc +extern __fpmax_t __strtofpmax(const char *str, char **endptr, int exp_adjust) attribute_hidden; #ifdef __UCLIBC_HAS_XLOCALE__ extern __fpmax_t __strtofpmax_l(const char *str, char **endptr, int exp_adjust, - __locale_t locale_arg); + __locale_t locale_arg) attribute_hidden; #endif #ifdef __UCLIBC_HAS_WCHAR__ extern __fpmax_t __wcstofpmax(const wchar_t *wcs, wchar_t **endptr, - int exp_adjust); + int exp_adjust) attribute_hidden; #ifdef __UCLIBC_HAS_XLOCALE__ extern __fpmax_t __wcstofpmax_l(const wchar_t *wcs, wchar_t **endptr, - int exp_adjust, __locale_t locale_arg); + int exp_adjust, __locale_t locale_arg) attribute_hidden; #endif +#endif /* _LIBC */ #endif /* __UCLIBC_HAS_WCHAR__ */ /* The following checks in an __fpmax_t is either 0 or +/- infinity. |