[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 12/66] device/cons.h: remove ifdef
From: |
Marin Ramesa |
Subject: |
[PATCH 12/66] device/cons.h: remove ifdef |
Date: |
Thu, 5 Dec 2013 22:03:06 +0100 |
Field constab is used even if KERNEL is not defined.
Remove the ifdef.
* 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
- Re: [PATCH 03/66] chips/busses.h: remove ifdef, (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 <=
- [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