>===> 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 majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to