summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-15 19:01:10 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-15 19:01:10 +0000
commitb2b61b775500cf34803e0856dd7ed4093ee4ac74 (patch)
tree666e8f390d90a50f2e12db0e3dd458916a931547
parent124aed1a19fbebd064160fd21c320ba196bb0cd3 (diff)
Sync headers w/ glibc
-rw-r--r--include/glob.h9
-rw-r--r--include/locale.h6
2 files changed, 5 insertions, 10 deletions
diff --git a/include/glob.h b/include/glob.h
index 1dbf99ff6..3d401f082 100644
--- a/include/glob.h
+++ b/include/glob.h
@@ -163,11 +163,12 @@ extern int glob (__const char *__restrict __pattern, int __flags,
/* Free storage allocated in PGLOB by a previous `glob' call. */
extern void globfree (glob_t *__pglob) __THROW;
#else
-extern int glob __P ((__const char *__restrict __pattern, int __flags,
- int (*__errfunc) (__const char *, int),
- glob_t *__restrict __pglob)) __asm__ ("glob64");
+extern int __REDIRECT_NTH (glob, (__const char *__restrict __pattern,
+ int __flags,
+ int (*__errfunc) (__const char *, int),
+ glob_t *__restrict __pglob), glob64);
-extern void globfree __P ((glob_t *__pglob)) __asm__ ("globfree64");
+extern void __REDIRECT_NTH (globfree, (glob_t *__pglob), globfree64);
#endif
#ifdef __USE_LARGEFILE64
diff --git a/include/locale.h b/include/locale.h
index d7f90c969..02d33a0d4 100644
--- a/include/locale.h
+++ b/include/locale.h
@@ -218,12 +218,6 @@ extern __locale_t uselocale (__locale_t __dataset) __THROW;
Passing this value to any other function has undefined behavior. */
# define LC_GLOBAL_LOCALE ((__locale_t) -1L)
-extern __locale_t __newlocale (int __category_mask, __const char *__locale,
- __locale_t __base) __THROW;
-extern __locale_t __duplocale (__locale_t __dataset) __THROW;
-extern void __freelocale (__locale_t __dataset) __THROW;
-extern __locale_t __uselocale (__locale_t __dataset) __THROW;
-
#endif
__END_DECLS