svn commit: trunk/uClibc/include
psm at uclibc.org
psm at uclibc.org
Thu Dec 8 14:07:46 UTC 2005
Author: psm
Date: 2005-12-08 06:07:26 -0800 (Thu, 08 Dec 2005)
New Revision: 12731
Log:
Remove __strto* from header (glibc sync), disable __asprintf/__getdelim, not provided
Modified:
trunk/uClibc/include/stdio.h
trunk/uClibc/include/stdlib.h
Changeset:
Modified: trunk/uClibc/include/stdio.h
===================================================================
--- trunk/uClibc/include/stdio.h 2005-12-08 14:04:40 UTC (rev 12730)
+++ trunk/uClibc/include/stdio.h 2005-12-08 14:07:26 UTC (rev 12731)
@@ -359,9 +359,11 @@
extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f,
__gnuc_va_list __arg)
__THROW __attribute__ ((__format__ (__printf__, 2, 0)));
+#if 0 /* uClibc: disabled */
extern int __asprintf (char **__restrict __ptr,
__const char *__restrict __fmt, ...)
__THROW __attribute__ ((__format__ (__printf__, 2, 3)));
+#endif
extern int asprintf (char **__restrict __ptr,
__const char *__restrict __fmt, ...)
__THROW __attribute__ ((__format__ (__printf__, 2, 3)));
@@ -557,9 +559,11 @@
cancellation point. But due to similarity with an POSIX interface
or due to the implementation they are cancellation points and
therefore not marked with __THROW. */
+#if 0 /* uClibc: disabled */
extern __ssize_t __getdelim (char **__restrict __lineptr,
size_t *__restrict __n, int __delimiter,
FILE *__restrict __stream);
+#endif
extern __ssize_t getdelim (char **__restrict __lineptr,
size_t *__restrict __n, int __delimiter,
FILE *__restrict __stream);
Modified: trunk/uClibc/include/stdlib.h
===================================================================
--- trunk/uClibc/include/stdlib.h 2005-12-08 14:04:40 UTC (rev 12730)
+++ trunk/uClibc/include/stdlib.h 2005-12-08 14:07:26 UTC (rev 12731)
@@ -286,41 +286,6 @@
__THROW __nonnull ((1, 3)) __wur;
#endif /* __UCLIBC_HAS_FLOATS__ */
-/* Internal names to support libstd++. */
-extern long int __strtol_l (__const char *__restrict __nptr,
- char **__restrict __endptr, int __base,
- __locale_t __loc) __THROW __nonnull ((1, 4));
-
-extern unsigned long int __strtoul_l (__const char *__restrict __nptr,
- char **__restrict __endptr,
- int __base, __locale_t __loc)
- __THROW __nonnull ((1, 4));
-
-__extension__
-extern long long int __strtoll_l (__const char *__restrict __nptr,
- char **__restrict __endptr, int __base,
- __locale_t __loc)
- __THROW __nonnull ((1, 4));
-
-__extension__
-extern unsigned long long int __strtoull_l (__const char *__restrict __nptr,
- char **__restrict __endptr,
- int __base, __locale_t __loc)
- __THROW __nonnull ((1, 4));
-
-#ifdef __UCLIBC_HAS_FLOATS__
-extern double __strtod_l (__const char *__restrict __nptr,
- char **__restrict __endptr, __locale_t __loc)
- __THROW __nonnull ((1, 3));
-
-extern float __strtof_l (__const char *__restrict __nptr,
- char **__restrict __endptr, __locale_t __loc)
- __THROW __nonnull ((1, 3));
-
-extern long double __strtold_l (__const char *__restrict __nptr,
- char **__restrict __endptr,
- __locale_t __loc) __THROW __nonnull ((1, 3));
-#endif /* __UCLIBC_HAS_FLOATS__ */
#endif /* GNU */
#endif /* __UCLIBC_HAS_XLOCALE__ */
More information about the uClibc-cvs
mailing list