1
0
mirror of https://sourceware.org/git/glibc.git synced 2026-01-06 11:51:29 +03:00
1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>

	* misc/sys/cdefs.h: New macro __REDIRECT to support changing the
	asm symbol name of functions.
	* include/features.h: Kill redundant test.

	* dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
	* io/ftw.h: Likewise.
	* io/sys/stat.h: Likewise.
	* io/sys/statfs.h: Likewise.
	* io/sys/statvfs.h: Likewise.
	* libio/stdio.h: Likewise.
	* resource/sys/resource.h: Likewise.
	* rt/aio.h: Likewise.

	* posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
	 __FAVOR_BSD.
	* signal/signal.h: Use new macros for BSD vs. SysV signal().

	* misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
	a dummy library.
	* misc/bsd-compat.c: Removed.
This commit is contained in:
Ulrich Drepper
1998-04-21 22:58:23 +00:00
parent 28f1c862dd
commit 01cad72266
16 changed files with 518 additions and 432 deletions

View File

@@ -65,13 +65,13 @@ extern __sighandler_t __sysv_signal __P ((int __sig,
#ifdef __USE_BSD
extern __sighandler_t signal __P ((int __sig, __sighandler_t __handler));
#else
/* Make sure the used `signal' implementation is the SVID version.
When GNU CC is used we have a clean way to write this. */
# if defined __GNUC__ && __GNUC__ >= 2
extern __sighandler_t signal __P ((int __sig, __sighandler_t __handler))
__asm__ ("__sysv_signal");
/* Make sure the used `signal' implementation is the SVID version. */
# ifdef __REDIRECT
extern __sighandler_t __REDIRECT (signal,
__P ((int __sig, __sighandler_t __handler)),
__sysv_signal);
# else
# define signal(sig, handler) __sysv_signal ((sig), (handler))
# define signal __sysv_signal
# endif
#endif