2014-10-09 Joseph Myers <joseph@codesourcery.com>
[BZ #14132]
+ * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
+ of INTDEF.
+ * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
+ (__cxa_atexit): Use libc_hidden_proto.
+ [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
+
+ [BZ #14132]
* include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
declaration.
[!_ISOMAC] (__iswdigit_l_internal): Likewise.
extern int __on_exit (void (*__func) (int __status, void *__arg), void *__arg);
extern int __cxa_atexit (void (*func) (void *), void *arg, void *d);
-extern int __cxa_atexit_internal (void (*func) (void *), void *arg, void *d)
- attribute_hidden;
+libc_hidden_proto (__cxa_atexit);
extern int __cxa_thread_atexit_impl (void (*func) (void *), void *arg,
void *d);
# ifndef NOT_IN_libc
# undef MB_CUR_MAX
# define MB_CUR_MAX (_NL_CURRENT_WORD (LC_CTYPE, _NL_CTYPE_MB_CUR_MAX))
-
-# define __cxa_atexit(func, arg, d) INTUSE(__cxa_atexit) (func, arg, d)
# endif
extern void *__default_morecore (ptrdiff_t) __THROW;
{
return __internal_atexit (func, arg, d, &__exit_funcs);
}
-INTDEF(__cxa_atexit)
+libc_hidden_def (__cxa_atexit)
/* We change global data, so we need locking. */