summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2000-07-25 17:58:01 +0000
committerEric Andersen2000-07-25 17:58:01 +0000
commitd34595d8577ad65cf5bd13b81f304b3df0cff297 (patch)
tree82e54f96e75df16469b13b02b366521e9a7f006c
parente5db4066901962b6de6ee54cd48402b3f4f893aa (diff)
downloadbusybox-d34595d8577ad65cf5bd13b81f304b3df0cff297.zip
busybox-d34595d8577ad65cf5bd13b81f304b3df0cff297.tar.gz
Remove some noise.
-Erik
-rw-r--r--applets/busybox.c27
-rw-r--r--busybox.c27
2 files changed, 0 insertions, 54 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index 5b19e8a..291d31b 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 5b19e8a..291d31b 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 */