[PATCH] libchip/network: Fixed warning

Andreas Heinig andreas.heinig at cs.tu-dortmund.de
Wed Feb 27 14:57:06 UTC 2013


---
 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;
-- 
1.7.10.4




More information about the devel mailing list