Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 1999 11:41:25 +0900
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        "Gary Palmer" <gpalmer@freebsd.org>
Cc:        current@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject:   Re: breakage on alpha 
Message-ID:  <199903170241.LAA28653@zodiac.mech.utsunomiya-u.ac.jp>
In-Reply-To: Your message of "Tue, 16 Mar 1999 20:02:49 EST." <53714.921632569@gjp.erols.com> 
References:  <53714.921632569@gjp.erols.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

>===> usr.sbin/kbdcontrol
>cc -O -pipe   -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/usr.sbin/kbdcontr
>ol/kbdcontrol.c
>gzip -cn /usr/src/usr.sbin/kbdcontrol/kbdcontrol.1 > kbdcontrol.1.gz
>lex -t  /usr/src/usr.sbin/kbdcontrol/lex.l > lex.c
>cc -O -pipe   -I/usr/obj/usr/src/tmp/usr/include -c lex.c
>/usr/src/usr.sbin/kbdcontrol/kbdcontrol.c:418: warning: `struct key_t' declare
>d inside parameter list
[...]

It was in machine/console.h and renamed to keyent_t.

I don't remember when this `#ifdef __i386__' bit came in...

Kazu

Index: kbdcontrol.c
===================================================================
RCS file: /src/CVS/src/usr.sbin/kbdcontrol/kbdcontrol.c,v
retrieving revision 1.23
diff -u -r1.23 kbdcontrol.c
--- kbdcontrol.c	1999/03/10 10:36:51	1.23
+++ kbdcontrol.c	1999/03/17 02:39:15
@@ -410,13 +410,8 @@
 }
 
 
-#ifdef __i386__
 void
 print_key_definition_line(FILE *fp, int scancode, struct keyent_t *key)
-#else
-void
-print_key_definition_line(FILE *fp, int scancode, struct key_t *key)
-#endif
 {
 	int i;
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903170241.LAA28653>