diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-07-25 17:58:01 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-07-25 17:58:01 +0000 |
commit | d34595d8577ad65cf5bd13b81f304b3df0cff297 (patch) | |
tree | 82e54f96e75df16469b13b02b366521e9a7f006c | |
parent | e5db4066901962b6de6ee54cd48402b3f4f893aa (diff) | |
download | busybox-w32-d34595d8577ad65cf5bd13b81f304b3df0cff297.tar.gz busybox-w32-d34595d8577ad65cf5bd13b81f304b3df0cff297.tar.bz2 busybox-w32-d34595d8577ad65cf5bd13b81f304b3df0cff297.zip |
Remove some noise.
-Erik
-rw-r--r-- | applets/busybox.c | 27 | ||||
-rw-r--r-- | busybox.c | 27 |
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 | ||
11 | static int been_there_done_that = 0; | 11 | static 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 | ||
20 | void exit(int status) __attribute__ ((noreturn)); | ||
21 | void exit(int status) | ||
22 | { | ||
23 | _exit(status); | ||
24 | }; | ||
25 | void abort(void) __attribute__ ((__noreturn__)); | ||
26 | void abort(void) | ||
27 | { | ||
28 | _exit(0); | ||
29 | }; | ||
30 | int atexit(void (*__func) (void)) | ||
31 | { | ||
32 | _exit(0); | ||
33 | }; | ||
34 | void *__libc_stack_end; | ||
35 | #endif | ||
36 | |||
37 | const struct BB_applet applets[] = { | 13 | const 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 | ||
439 | int uninstall_links() ? | ||
440 | #endif | ||
441 | #endif /* BB_FEATURE_INSTALLER */ | 414 | #endif /* BB_FEATURE_INSTALLER */ |
442 | 415 | ||
443 | 416 | ||
@@ -10,30 +10,6 @@ | |||
10 | 10 | ||
11 | static int been_there_done_that = 0; | 11 | static 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 | ||
20 | void exit(int status) __attribute__ ((noreturn)); | ||
21 | void exit(int status) | ||
22 | { | ||
23 | _exit(status); | ||
24 | }; | ||
25 | void abort(void) __attribute__ ((__noreturn__)); | ||
26 | void abort(void) | ||
27 | { | ||
28 | _exit(0); | ||
29 | }; | ||
30 | int atexit(void (*__func) (void)) | ||
31 | { | ||
32 | _exit(0); | ||
33 | }; | ||
34 | void *__libc_stack_end; | ||
35 | #endif | ||
36 | |||
37 | const struct BB_applet applets[] = { | 13 | const 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 | ||
439 | int uninstall_links() ? | ||
440 | #endif | ||
441 | #endif /* BB_FEATURE_INSTALLER */ | 414 | #endif /* BB_FEATURE_INSTALLER */ |
442 | 415 | ||
443 | 416 | ||