[rtems commit] libchip/network: Fixed warning
Sebastian Huber
sebh at rtems.org
Wed Feb 27 15:02:41 UTC 2013
Module: rtems
Branch: master
Commit: c6902a86055417d9a0316e4b5e0bb479522539a2
Changeset: http://git.rtems.org/rtems/commit/?id=c6902a86055417d9a0316e4b5e0bb479522539a2
Author: Andreas Heinig <andreas.heinig at cs.tu-dortmund.de>
Date: Wed Feb 27 15:57:06 2013 +0100
libchip/network: Fixed warning
---
c/src/libchip/network/i82586.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/c/src/libchip/network/i82586.c b/c/src/libchip/network/i82586.c
index 8ea8a16..d37855b 100644
--- a/c/src/libchip/network/i82586.c
+++ b/c/src/libchip/network/i82586.c
@@ -242,7 +242,8 @@ 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;
More information about the vc
mailing list