From d34595d8577ad65cf5bd13b81f304b3df0cff297 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 25 Jul 2000 17:58:01 +0000 Subject: [PATCH] Remove some noise. -Erik --- applets/busybox.c | 27 --------------------------- busybox.c | 27 --------------------------- 2 files changed, 54 deletions(-) diff --git a/applets/busybox.c b/applets/busybox.c index 5b19e8a16..291d31b19 100644 --- a/applets/busybox.c +++ b/applets/busybox.c @@ -10,30 +10,6 @@ static int been_there_done_that = 0; -/* It has been alledged that doing such things can - * help reduce binary size when staticly linking, - * of course with glibc, this is unlikely as long - * as we use things like printf -- perhaps a printf - * replacement may be in order - */ -#if 0 -void exit(int status) __attribute__ ((noreturn)); -void exit(int status) -{ - _exit(status); -}; -void abort(void) __attribute__ ((__noreturn__)); -void abort(void) -{ - _exit(0); -}; -int atexit(void (*__func) (void)) -{ - _exit(0); -}; -void *__libc_stack_end; -#endif - const struct BB_applet applets[] = { #ifdef BB_AR @@ -435,9 +411,6 @@ static int install_links(const char *busybox, int use_symbolic_links) return rc; } -#if 0 -int uninstall_links() ? -#endif #endif /* BB_FEATURE_INSTALLER */ diff --git a/busybox.c b/busybox.c index 5b19e8a16..291d31b19 100644 --- a/busybox.c +++ b/busybox.c @@ -10,30 +10,6 @@ static int been_there_done_that = 0; -/* It has been alledged that doing such things can - * help reduce binary size when staticly linking, - * of course with glibc, this is unlikely as long - * as we use things like printf -- perhaps a printf - * replacement may be in order - */ -#if 0 -void exit(int status) __attribute__ ((noreturn)); -void exit(int status) -{ - _exit(status); -}; -void abort(void) __attribute__ ((__noreturn__)); -void abort(void) -{ - _exit(0); -}; -int atexit(void (*__func) (void)) -{ - _exit(0); -}; -void *__libc_stack_end; -#endif - const struct BB_applet applets[] = { #ifdef BB_AR @@ -435,9 +411,6 @@ static int install_links(const char *busybox, int use_symbolic_links) return rc; } -#if 0 -int uninstall_links() ? -#endif #endif /* BB_FEATURE_INSTALLER */