[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 41/66] i386/i386at/kd.h: remove ifdef
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 41/66] i386/i386at/kd.h: remove ifdef |
Date: |
Mon, 9 Dec 2013 00:10:24 +0900 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
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)
- [PATCH 30/66] i386/i386/user_ldt.c: remove unused variable, (continued)
- [PATCH 30/66] i386/i386/user_ldt.c: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 31/66] i386/i386at/com.c: simplify code, Marin Ramesa, 2013/12/05
- [PATCH 32/66] i386/i386at/com.c: remove dead assignment, Marin Ramesa, 2013/12/05
- [PATCH 33/66] i386/i386at/immc.c, kd.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 34/66] i386/i386at/model_dep.c, kd.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 40/66] i386/i386at/kd.h: remove ifdef, Marin Ramesa, 2013/12/05
- [PATCH 41/66] i386/i386at/kd.h: remove ifdef, Marin Ramesa, 2013/12/05
- Re: [PATCH 41/66] i386/i386at/kd.h: remove ifdef,
Samuel Thibault <=
- [PATCH 43/66] i386/i386at/rtc.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 42/66] i386/i386at/lpr.c: remove uninitialized variable, Marin Ramesa, 2013/12/05
- [PATCH 44/66] i386/i386at/rtc.c: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 45/66] i386/intel/pmap.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 47/66] ipc/ipc_init.c: qualify constant with const, Marin Ramesa, 2013/12/05
- [PATCH 46/66] i386/intel/pmap.c: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 48/66] ipc/mach_port.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 49/66] ipc/port.h: update comment, Marin Ramesa, 2013/12/05
- [PATCH 50/66] kern/act.c, act.h: comment unused variable, Marin Ramesa, 2013/12/05