[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 12/66] device/cons.h: remove ifdef
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 12/66] device/cons.h: remove ifdef |
Date: |
Sun, 8 Dec 2013 23:50:45 +0900 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Marin Ramesa, le Thu 05 Dec 2013 22:03:06 +0100, a écrit :
> Field constab is used even if KERNEL is not defined.
> Remove the ifdef.
Ditto.
> * device/cons.h [KERNEL]: Remove ifdef.
>
> ---
> device/cons.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/device/cons.h b/device/cons.h
> index 8ac796c..d569a8f 100644
> --- a/device/cons.h
> +++ b/device/cons.h
> @@ -43,9 +43,7 @@ struct consdev {
>
> #define CONSBUFSIZE 1024
>
> -#ifdef KERNEL
> extern struct consdev constab[];
> -#endif
>
> extern void cninit(void);
>
> --
> 1.8.1.4
>
>
--
Samuel
> et sinon, quand on s'interesse a un media que l'on ne maitrise pas,
> on essaye de le comprendre d'abord.
(Suivi par l'intégralité du message initial de 45 lignes.)
-+-BM in : GNU - La maîtrise est un long apprentissage petit scarabé -+-
- [PATCH 04/66] ddb/db_command.c: remove forward declaration, (continued)
- [PATCH 04/66] ddb/db_command.c: remove forward declaration, Marin Ramesa, 2013/12/05
- [PATCH 05/66] ddb/db_command.h: remove duplicate variable declaration, Marin Ramesa, 2013/12/05
- [PATCH 07/66] ddb/db_output.c: remove duplicate function, Marin Ramesa, 2013/12/05
- [PATCH 06/66] ddb/db_output.c: remove call to nonexistent db_printf_enter(), Marin Ramesa, 2013/12/05
- [PATCH 08/66] ddb/db_output.h: add comment, Marin Ramesa, 2013/12/05
- [PATCH 09/66] device/blkio.c: remove function, Marin Ramesa, 2013/12/05
- [PATCH 10/66] device/chario.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 11/66] device/cirbuf.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 12/66] device/cons.h: remove ifdef, Marin Ramesa, 2013/12/05
- Re: [PATCH 12/66] device/cons.h: remove ifdef,
Samuel Thibault <=
- [PATCH 14/66] device/if_ether.h: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 13/66] device/dev_lookup.c: remove unused lock, Marin Ramesa, 2013/12/05
- [PATCH 15/66] device/if_ether.h: remove ifdef, Marin Ramesa, 2013/12/05
- [PATCH 16/66] device/kmsg.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 17/66] device/kmsg.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 18/66] device/tty.h, chario.h: move prototype, Marin Ramesa, 2013/12/05
- [PATCH 19/66] i386/i386/db_interface.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 20/66] i386/i386/db_interface.c: remove dead assignment, Marin Ramesa, 2013/12/05