diff options
author | bde <bde@FreeBSD.org> | 1998-02-25 02:24:04 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-02-25 02:24:04 +0000 |
commit | 8f1b16e6cce7377931ecce43f5a7dff7b95b2e6e (patch) | |
tree | 50f72c0d82da3224f2d9a1e436ea5c66c86b4506 /usr.bin/error | |
parent | 76878d1c84624eb622955016c796669d97707c14 (diff) | |
download | FreeBSD-src-8f1b16e6cce7377931ecce43f5a7dff7b95b2e6e.zip FreeBSD-src-8f1b16e6cce7377931ecce43f5a7dff7b95b2e6e.tar.gz |
Fixed the usual type mismatch for a signal handling function.
Diffstat (limited to 'usr.bin/error')
-rw-r--r-- | usr.bin/error/error.h | 2 | ||||
-rw-r--r-- | usr.bin/error/touch.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/error/error.h b/usr.bin/error/error.h index df5e09b..ddc0202 100644 --- a/usr.bin/error/error.h +++ b/usr.bin/error/error.h @@ -230,7 +230,7 @@ void erroradd __P((int, char **, Errorclass, Errorclass)); void filenames __P((int, Eptr **)); void findfiles __P((int, Eptr *, int *, Eptr ***)); void getignored __P((char *)); -void onintr __P((void)); +void onintr __P((int)); int position __P((char *, char)); void printerrors __P((boolean, int, Eptr [])); char *substitute __P((char *, char, char)); diff --git a/usr.bin/error/touch.c b/usr.bin/error/touch.c index 132ea33..cef09fd 100644 --- a/usr.bin/error/touch.c +++ b/usr.bin/error/touch.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)touch.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id$"; + "$Id: touch.c,v 1.4 1997/11/03 07:44:25 charnier Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -725,7 +725,8 @@ mustwrite(base, n, preciousfile) } void -onintr() +onintr(sig) + int sig; { switch(inquire(terse ? "\nContinue? " |