From 8266e478d66f551e471e94a25de35db9f8f5e4c0 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 20 Jun 2003 23:57:48 +0000 Subject: 2003-06-20 Jeff Johnston * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros to handle latest on_exit change. * libc/sys/linux/Makefile.am: Remove special compilation for malloc.c and mcheck.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/mntent.c: Add definition of _LIBC flag after including . * libc/sys/linux/mcheck.c: Ditto. * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE for . * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and add -DNOT_IN_libc to C flags. * libc/sys/linux/intl/Makefile.in: Regenerated. * libc/sys/linux/intl/config.h: Add definition of _LIBC. * libc/sys/linux/linuxthreads/semaphore.h: Include . * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after including . * libc/sys/linux/sys/lock.h: Ditto. --- newlib/libc/include/sys/reent.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'newlib/libc/include') diff --git a/newlib/libc/include/sys/reent.h b/newlib/libc/include/sys/reent.h index d1a04dc43..1c4fccf86 100644 --- a/newlib/libc/include/sys/reent.h +++ b/newlib/libc/include/sys/reent.h @@ -407,8 +407,7 @@ struct _reent var->_sig_func = _NULL; \ var->_atexit._ind = 0; \ var->_atexit._fns[0] = _NULL; \ - var->_atexit._fnargs[0] = _NULL; \ - var->_atexit._fntypes = 0; \ + var->_atexit._on_exit_args = _NULL; \ var->__sglue._next = _NULL; \ var->__sglue._niobs = 0; \ var->__sglue._iobs = _NULL; \ @@ -673,7 +672,8 @@ struct _reent var->_atexit = _NULL; \ var->_atexit0._ind = 0; \ var->_atexit0._fns[0] = _NULL; \ - var->_atexit0._fntypes = 0; \ + var->_atexit0._on_exit_args._fntypes = 0; \ + var->_atexit0._on_exit_args._fnargs[0] = _NULL; \ var->_sig_func = _NULL; \ var->__sglue._next = _NULL; \ var->__sglue._niobs = 0; \ -- cgit v1.2.3