summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2003-06-25 07:26:59 +0000
committertedu <tedu@openbsd.org>2003-06-25 07:26:59 +0000
commit7d9f164d59ea99e32efd21a1656a60f42f563c87 (patch)
treecdfc2f7d3247310d380457309b3a92831d80bb20 /usr.bin/diff/diff.c
parentknf (diff)
downloadwireguard-openbsd-7d9f164d59ea99e32efd21a1656a60f42f563c87.tar.xz
wireguard-openbsd-7d9f164d59ea99e32efd21a1656a60f42f563c87.zip
remove silly signal catcher, and just use done. ok deraadt@
Diffstat (limited to 'usr.bin/diff/diff.c')
-rw-r--r--usr.bin/diff/diff.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/usr.bin/diff/diff.c b/usr.bin/diff/diff.c
index 8eba550652c..65df89d0fc7 100644
--- a/usr.bin/diff/diff.c
+++ b/usr.bin/diff/diff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.c,v 1.4 2003/06/25 03:37:32 deraadt Exp $ */
+/* $OpenBSD: diff.c,v 1.5 2003/06/25 07:26:59 tedu Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
@@ -217,13 +217,6 @@ done(int sig)
exit(status);
}
-void
-catchsig(int sigraised)
-{
- /* print something? */
- done(0);
-}
-
void *
talloc(size_t n)
{