aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-25 17:58:01 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-25 17:58:01 +0000
commitd34595d8577ad65cf5bd13b81f304b3df0cff297 (patch)
tree82e54f96e75df16469b13b02b366521e9a7f006c
parente5db4066901962b6de6ee54cd48402b3f4f893aa (diff)
downloadbusybox-w32-d34595d8577ad65cf5bd13b81f304b3df0cff297.tar.gz
busybox-w32-d34595d8577ad65cf5bd13b81f304b3df0cff297.tar.bz2
busybox-w32-d34595d8577ad65cf5bd13b81f304b3df0cff297.zip
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 5b19e8a16..291d31b19 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -10,30 +10,6 @@
10 10
11static int been_there_done_that = 0; 11static int been_there_done_that = 0;
12 12
13/* It has been alledged that doing such things can
14 * help reduce binary size when staticly linking,
15 * of course with glibc, this is unlikely as long
16 * as we use things like printf -- perhaps a printf
17 * replacement may be in order
18 */
19#if 0
20void exit(int status) __attribute__ ((noreturn));
21void exit(int status)
22{
23 _exit(status);
24};
25void abort(void) __attribute__ ((__noreturn__));
26void abort(void)
27{
28 _exit(0);
29};
30int atexit(void (*__func) (void))
31{
32 _exit(0);
33};
34void *__libc_stack_end;
35#endif
36
37const struct BB_applet applets[] = { 13const struct BB_applet applets[] = {
38 14
39#ifdef BB_AR 15#ifdef BB_AR
@@ -435,9 +411,6 @@ static int install_links(const char *busybox, int use_symbolic_links)
435 return rc; 411 return rc;
436} 412}
437 413
438#if 0
439int uninstall_links() ?
440#endif
441#endif /* BB_FEATURE_INSTALLER */ 414#endif /* BB_FEATURE_INSTALLER */
442 415
443 416
diff --git a/busybox.c b/busybox.c
index 5b19e8a16..291d31b19 100644
--- a/busybox.c
+++ b/busybox.c
@@ -10,30 +10,6 @@
10 10
11static int been_there_done_that = 0; 11static int been_there_done_that = 0;
12 12
13/* It has been alledged that doing such things can
14 * help reduce binary size when staticly linking,
15 * of course with glibc, this is unlikely as long
16 * as we use things like printf -- perhaps a printf
17 * replacement may be in order
18 */
19#if 0
20void exit(int status) __attribute__ ((noreturn));
21void exit(int status)
22{
23 _exit(status);
24};
25void abort(void) __attribute__ ((__noreturn__));
26void abort(void)
27{
28 _exit(0);
29};
30int atexit(void (*__func) (void))
31{
32 _exit(0);
33};
34void *__libc_stack_end;
35#endif
36
37const struct BB_applet applets[] = { 13const struct BB_applet applets[] = {
38 14
39#ifdef BB_AR 15#ifdef BB_AR
@@ -435,9 +411,6 @@ static int install_links(const char *busybox, int use_symbolic_links)
435 return rc; 411 return rc;
436} 412}
437 413
438#if 0
439int uninstall_links() ?
440#endif
441#endif /* BB_FEATURE_INSTALLER */ 414#endif /* BB_FEATURE_INSTALLER */
442 415
443 416