Marin Ramesa, le Thu 05 Dec 2013 22:03:35 +0100, a écrit : > Variable kb_mode is used even if KERNEL is not defined. > Remove ifdef.
Ditto. > * i386/i386at/kd.h [KERNEL]: Remove ifdef. > > --- > i386/i386at/kd.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/i386/i386at/kd.h b/i386/i386at/kd.h > index 4d1ab7f..ed11cbb 100644 > --- a/i386/i386at/kd.h > +++ b/i386/i386at/kd.h > @@ -626,9 +626,7 @@ struct kbentry { > * keyboard. > */ > > -#ifdef KERNEL > extern int kb_mode; > -#endif > > #define KDSKBDMODE _IOW('K', 1, int) /* set keyboard mode */ > #define KB_EVENT 1 > -- > 1.8.1.4 > > -- Samuel "...Deep Hack Mode--that mysterious and frightening state of consciousness where Mortal Users fear to tread." (By Matt Welsh)