[PATCH] libchip/network: Fixed warning

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Feb 27 15:08:56 UTC 2013


On 02/27/2013 03:57 PM, Andreas Heinig wrote:
> ---
>   c/src/libchip/network/i82586.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/c/src/libchip/network/i82586.c b/c/src/libchip/network/i82586.c
> index 8ea8a16..431d5cc 100644
> --- a/c/src/libchip/network/i82586.c
> +++ b/c/src/libchip/network/i82586.c
> @@ -242,7 +242,7 @@ static void print_rbd (struct ie_softc *, int);
>   #define i82586_WAKE_EVENT RTEMS_EVENT_1
>   #define i82586_TX_EVENT   RTEMS_EVENT_2
>
> -char *bitmask_snprintf(unsigned long value, const char *format, char *buf, int blen)
> +static char *bitmask_snprintf(unsigned long value, const char *format, char *buf, int blen)
>   {
>     char *b  = buf;
>     int  bit = 31;
>

I checked in a slightly different patch to keep the line limit of 80 characters.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list