summaryrefslogtreecommitdiff
path: root/bin/dd/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dd/misc.c')
-rw-r--r--bin/dd/misc.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/bin/dd/misc.c b/bin/dd/misc.c
index 0fac98b..b32ccc7 100644
--- a/bin/dd/misc.c
+++ b/bin/dd/misc.c
@@ -33,15 +33,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-#ifndef lint
-#if 0
-static char sccsid[] = "@(#)misc.c 8.3 (Berkeley) 4/2/94";
-#else
-__RCSID("$NetBSD: misc.c,v 1.23 2011/11/07 22:24:23 jym Exp $");
-#endif
-#endif /* not lint */
-
#include <sys/param.h>
#include <sys/types.h>
#include <sys/time.h>
@@ -51,8 +42,8 @@ __RCSID("$NetBSD: misc.c,v 1.23 2011/11/07 22:24:23 jym Exp $");
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <util.h>
#include <inttypes.h>
+#include <signal.h>
#include "dd.h"
#include "extern.h"
@@ -153,7 +144,7 @@ terminate(int signo)
{
summary();
- (void)raise_default_signal(signo);
+ (void)raise(signo);
_exit(127);
}