summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenis Vlasenko2007-09-30 16:32:01 +0000
committerDenis Vlasenko2007-09-30 16:32:01 +0000
commita4f4de9b7e73d89ef727796e06172419ab8a177c (patch)
treee8b783cf437452b5ec206e6cb07706c91e9b8180 /libbb
parent605b20e277c558eb284595aacbcd3c21168894d3 (diff)
downloadbusybox-a4f4de9b7e73d89ef727796e06172419ab8a177c.zip
busybox-a4f4de9b7e73d89ef727796e06172419ab8a177c.tar.gz
print_signames_and_exit -> print_signames (because of "ash calls kill_main")
Diffstat (limited to 'libbb')
-rw-r--r--libbb/u_signal_names.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbb/u_signal_names.c b/libbb/u_signal_names.c
index 5a6f592..ed3bb5c 100644
--- a/libbb/u_signal_names.c
+++ b/libbb/u_signal_names.c
@@ -163,7 +163,7 @@ const char *get_signame(int number)
// Print the whole signal list
-void print_signames_and_exit(void)
+void print_signames(void)
{
int signo;
@@ -172,5 +172,4 @@ void print_signames_and_exit(void)
if (name[0])
puts(name);
}
- exit(EXIT_SUCCESS);
}