diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-07-15 13:42:06 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-07-15 13:42:06 +0000 |
commit | 02b849d6f20b509685bdcc0765cf11634ebaeb68 (patch) | |
tree | 443f3ab5b01a75cf9b5b78c92bb33d34227dcd0a /usr.bin | |
parent | 7eb3a750e52328cf5b852653b3889326f5a8f3be (diff) |
keyboard() does not return an int
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/systat/extern.h | 4 | ||||
-rw-r--r-- | usr.bin/systat/keyboard.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/systat/extern.h b/usr.bin/systat/extern.h index 446436525ef..75c0e1c8a27 100644 --- a/usr.bin/systat/extern.h +++ b/usr.bin/systat/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.4 1997/06/23 22:21:46 millert Exp $ */ +/* $OpenBSD: extern.h,v 1.5 1997/07/15 13:42:05 kstailey Exp $ */ /* $NetBSD: extern.h,v 1.3 1996/05/10 23:16:34 thorpej Exp $ */ /*- @@ -92,7 +92,7 @@ int initmbufs __P((void)); int initnetstat __P((void)); int initpigs __P((void)); int initswap __P((void)); -int keyboard __P((void)); +void keyboard __P((void)); int kvm_ckread __P((void *, void *, int)); void labeliostat __P((void)); void labelkre __P((void)); diff --git a/usr.bin/systat/keyboard.c b/usr.bin/systat/keyboard.c index a8b7178d31c..0afc48008d9 100644 --- a/usr.bin/systat/keyboard.c +++ b/usr.bin/systat/keyboard.c @@ -1,4 +1,4 @@ -/* $OpenBSD: keyboard.c,v 1.3 1996/07/25 01:46:56 deraadt Exp $ */ +/* $OpenBSD: keyboard.c,v 1.4 1997/07/15 13:42:05 kstailey Exp $ */ /* $NetBSD: keyboard.c,v 1.2 1995/01/20 08:51:59 jtc Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)keyboard.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: keyboard.c,v 1.3 1996/07/25 01:46:56 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: keyboard.c,v 1.4 1997/07/15 13:42:05 kstailey Exp $"; #endif /* not lint */ #include <ctype.h> @@ -48,7 +48,7 @@ static char rcsid[] = "$OpenBSD: keyboard.c,v 1.3 1996/07/25 01:46:56 deraadt Ex #include "systat.h" #include "extern.h" -int +void keyboard() { char ch, line[80]; |