From 400d8bb45ee25ce226bb343a3dfaab84e6d3a8e1 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 24 Feb 2008 13:36:01 +0000 Subject: less,klogd,syslogd,nc,tcpudp: exit on signal by killing itself, not exit(1) *: minor shrink --- include/libbb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index 873ab8798..48937c4b1 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -309,6 +309,7 @@ void sig_block(int); void sig_unblock(int); /* UNUSED: void sig_blocknone(void); */ void sig_pause(void); +void kill_myself_with_sig(int sig) ATTRIBUTE_NORETURN; void xsetgid(gid_t gid); -- cgit v1.2.3