diff options
author | Gabor Kovesdan <gabor@FreeBSD.org> | 2010-06-10 10:28:38 +0000 |
---|---|---|
committer | Gabor Kovesdan <gabor@FreeBSD.org> | 2010-06-10 10:28:38 +0000 |
commit | 07f9cfc4ff3890e7e35ed4bc2cc37cb228cb67ab (patch) | |
tree | 527972ea5a439745c56079f857677faf1d36f612 /usr.bin/dc | |
parent | 5349f70253f218c14e9ae0cee2349b9bc429c44f (diff) | |
download | src-test2-07f9cfc4ff3890e7e35ed4bc2cc37cb228cb67ab.tar.gz src-test2-07f9cfc4ff3890e7e35ed4bc2cc37cb228cb67ab.zip |
Notes
Diffstat (limited to 'usr.bin/dc')
-rw-r--r-- | usr.bin/dc/bcode.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/usr.bin/dc/bcode.c b/usr.bin/dc/bcode.c index 408a9488e64f..024c7cc9154b 100644 --- a/usr.bin/dc/bcode.c +++ b/usr.bin/dc/bcode.c @@ -54,7 +54,6 @@ struct bmachine { }; static struct bmachine bmachine; -static void got_sigint(int); static __inline int readch(void); static __inline void unreadch(void); @@ -221,14 +220,6 @@ static const struct jump_entry jump_table_data[] = { #define JUMP_TABLE_DATA_SIZE \ (sizeof(jump_table_data)/sizeof(jump_table_data[0])) -static void -got_sigint(int ignored __unused) -{ - - putchar('\n'); - exit(0); -} - void init_bmachine(bool extended_registers) { @@ -261,7 +252,6 @@ init_bmachine(bool extended_registers) bmachine.obase = bmachine.ibase = 10; BN_init(&zero); bn_check(BN_zero(&zero)); - signal(SIGINT, got_sigint); } /* Reset the things needed before processing a (new) file */ |