svn commit: trunk/uClibc/libc/sysdeps/linux/common/bits

psm at uclibc.org psm at uclibc.org
Fri Dec 16 18:18:00 UTC 2005


Author: psm
Date: 2005-12-16 10:17:59 -0800 (Fri, 16 Dec 2005)
New Revision: 12937

Log:
Adapt some missed prototypes

Modified:
   trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_fpmax.h


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_fpmax.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_fpmax.h	2005-12-16 18:16:10 UTC (rev 12936)
+++ trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_fpmax.h	2005-12-16 18:17:59 UTC (rev 12937)
@@ -98,21 +98,23 @@
 
 #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.




More information about the uClibc-cvs mailing list