summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-08 14:07:26 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-08 14:07:26 +0000
commit6ff79172d5c4caa7922f10ea1eee67f6e8316476 (patch)
tree53b18a24ecd4639cbbf10a3e047deb3e3e8d2d41
parenta0a86e975a651f0f890225650306c630fe310660 (diff)
Remove __strto* from header (glibc sync), disable __asprintf/__getdelim, not provided
-rw-r--r--include/stdio.h4
-rw-r--r--include/stdlib.h35
2 files changed, 4 insertions, 35 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 68e2ba585..787a6aa52 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -359,9 +359,11 @@ __END_NAMESPACE_C99
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 @@ extern char *fgets_unlocked (char *__restrict __s, int __n,
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);
diff --git a/include/stdlib.h b/include/stdlib.h
index 7f7f15c45..1f0b19b0a 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -286,41 +286,6 @@ extern long double strtold_l (__const char *__restrict __nptr,
__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__ */