[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 15/66] device/if_ether.h: remove ifdef
From: |
Marin Ramesa |
Subject: |
[PATCH 15/66] device/if_ether.h: remove ifdef |
Date: |
Thu, 5 Dec 2013 22:03:09 +0100 |
Function ether_sprintf() is used even if KERNEL is not defined.
Avoid implicit declaration in that case by removing the ifdef.
* device/if_ether.h [KERNEL]: Remove ifdef.
---
device/if_ether.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/device/if_ether.h b/device/if_ether.h
index e368fbf..1838df3 100644
--- a/device/if_ether.h
+++ b/device/if_ether.h
@@ -45,8 +45,6 @@ struct ether_header {
u_short ether_type;
};
-#ifdef KERNEL
extern char * ether_sprintf(u_char *);
-#endif /* KERNEL */
#endif /*_DEVICE_IF_ETHER_H_*/
--
1.8.1.4
- [PATCH 06/66] ddb/db_output.c: remove call to nonexistent db_printf_enter(), (continued)
- [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
- [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 <=
- [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
- [PATCH 22/66] i386/i386/db_interface.c: remove dead assignment, Marin Ramesa, 2013/12/05
- [PATCH 21/66] i386/i386/db_interface.c: remove dead assignment, Marin Ramesa, 2013/12/05