From a9a4354fed4cec65ca359fe04095a7a7d4823a8a Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 3 Jul 2002 22:32:35 +0000 Subject: ansi --- sbin/kbd/kbd_wscons.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'sbin/kbd/kbd_wscons.c') diff --git a/sbin/kbd/kbd_wscons.c b/sbin/kbd/kbd_wscons.c index bcde7e7e846..dc88f905748 100644 --- a/sbin/kbd/kbd_wscons.c +++ b/sbin/kbd/kbd_wscons.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kbd_wscons.c,v 1.8 2002/05/29 20:45:58 maja Exp $ */ +/* $OpenBSD: kbd_wscons.c,v 1.9 2002/07/03 22:32:33 deraadt Exp $ */ /* * Copyright (c) 2001 Mats O Jansson. All rights reserved. @@ -94,9 +94,7 @@ int rebuild = 0; #ifndef NOKVM void -kbd_show_enc(kd, idx) - kvm_t *kd; - int idx; +kbd_show_enc(kvm_t *kd, int idx) { struct wscons_keydesc r; unsigned long p; @@ -145,7 +143,7 @@ kbd_show_enc(kd, idx) #endif void -kbd_list() +kbd_list(void) { int fd, i, kbtype, ret; kvm_t *kd; @@ -220,9 +218,7 @@ kbd_list() } void -kbd_set(name, verbose) - char *name; - int verbose; +kbd_set(char *name, int verbose) { char buf[_POSIX2_LINE_MAX]; char *c,*b; -- cgit v1.2.3