From 6eaa70365b30d45f3b869a597b54d846bdef7dbc Mon Sep 17 00:00:00 2001 From: christos Date: Fri, 20 Jan 2006 22:02:07 +0000 Subject: [PATCH] Kill _Exit; breaks build on cygwin and this implementation "is not exactly equivalent to calling _exit". --- lib/libc/stdlib/Makefile.inc | 4 ++-- lib/libc/stdlib/_Exit.c | 26 -------------------------- 2 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 lib/libc/stdlib/_Exit.c diff --git a/lib/libc/stdlib/Makefile.inc b/lib/libc/stdlib/Makefile.inc index 3d627e4c6dfd..de6a524d694c 100644 --- a/lib/libc/stdlib/Makefile.inc +++ b/lib/libc/stdlib/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.61 2005/09/25 20:08:01 christos Exp $ +# $NetBSD: Makefile.inc,v 1.62 2006/01/20 22:02:07 christos Exp $ # from: @(#)Makefile.inc 8.3 (Berkeley) 2/4/95 # stdlib sources @@ -6,7 +6,7 @@ SRCS+= _rand48.c _strtoimax.c _strtoumax.c _strtoll.c _strtoull.c \ a64l.c abort.c atexit.c atof.c atoi.c atol.c atoll.c \ - bsearch.c calloc.c drand48.c erand48.c exit.c _Exit.c \ + bsearch.c calloc.c drand48.c erand48.c exit.c \ getenv.c getopt.c getopt_long.c getsubopt.c \ hcreate.c heapsort.c insque.c jrand48.c \ l64a.c lldiv.c lcong48.c lrand48.c lsearch.c \ diff --git a/lib/libc/stdlib/_Exit.c b/lib/libc/stdlib/_Exit.c deleted file mode 100644 index 33f63e64dad5..000000000000 --- a/lib/libc/stdlib/_Exit.c +++ /dev/null @@ -1,26 +0,0 @@ -/* $NetBSD: _Exit.c,v 1.2 2005/06/12 05:21:27 lukem Exp $ */ - -/* - * Ben Harris, 2002 - * This file is in the Public Domain - */ - -#include -#if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: _Exit.c,v 1.2 2005/06/12 05:21:27 lukem Exp $"); -#endif /* LIBC_SCCS and not lint */ - -#include -#include - -/* - * IEEE 1003.1-2001 says: - * The _Exit() and _exit() functions shall be functionally equivalent. - */ - -void -_Exit(int status) -{ - - _exit(status); -}