From 03405742a3481bb2aed9036530f3c02948adbc4f Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 12 Nov 1993 16:53:24 +0000 Subject: [PATCH] noodstop is a signal arg, and should be void noodstop() --- util/ack/ack.h | 2 +- util/ack/proto.make | 2 +- util/ack/util.c | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/util/ack/ack.h b/util/ack/ack.h index e18c1334a..420fa0a5e 100644 --- a/util/ack/ack.h +++ b/util/ack/ack.h @@ -79,7 +79,7 @@ extern int creat(); /* Own routines */ enum f_path getpath(); enum f_path scan_end(); -extern int noodstop(); +extern void noodstop(); extern char *getvar(); extern char *keeps(); extern char *basename(); diff --git a/util/ack/proto.make b/util/ack/proto.make index e2c4d5642..a7185ed14 100644 --- a/util/ack/proto.make +++ b/util/ack/proto.make @@ -51,7 +51,7 @@ FE=fe INTABLES=sun3 LNTABLES=acc apc abc ocm m2 f2c vax4 i86 i386 m68k2 m68k4 pmds pmds4 mantra \ m68020 z8000 pdp em22 em24 em44 6500 6800 6805 6809 i80 ns s2650 z80 \ - sun2 xenix3 minix minixST sparc sparc_solaris arm + sun2 xenix3 minix minixST sparc sparc_solaris arm INCLUDES=-I$(TARGET_HOME)/h -I$(TARGET_HOME)/config -I$(SRC_DIR) CFLAGS= $(INCLUDES) $(COPTIONS) UCFLAGS= $(INCLUDES) $(UCOPTIONS) diff --git a/util/ack/util.c b/util/ack/util.c index 445b08a7d..a5f1508c3 100644 --- a/util/ack/util.c +++ b/util/ack/util.c @@ -140,6 +140,7 @@ do_flush() { fflush(stderr) ; } +void noodstop() { quit(-3) ; } -- 2.34.1