[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 15/66] device/if_ether.h: remove ifdef
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 15/66] device/if_ether.h: remove ifdef |
Date: |
Sun, 8 Dec 2013 23:51:46 +0900 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Marin Ramesa, le Thu 05 Dec 2013 22:03:09 +0100, a écrit :
> Function ether_sprintf() is used even if KERNEL is not defined.
> Avoid implicit declaration in that case by removing the ifdef.
Ditto.
> * 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
>
>
--
Samuel
I am the "ILOVEGNU" signature virus. Just copy me to your signature.
This email was infected under the terms of the GNU General Public License.
- [PATCH 08/66] ddb/db_output.h: add comment, (continued)
- [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, 2013/12/05
- Re: [PATCH 15/66] device/if_ether.h: remove ifdef,
Samuel Thibault <=
- [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