diff options
author | Eric Norum <WENorum@lbl.gov> | 2004-10-25 13:50:39 +0000 |
---|---|---|
committer | Eric Norum <WENorum@lbl.gov> | 2004-10-25 13:50:39 +0000 |
commit | bb5b40485651d5b8f8f49754a7a482cb37c898d0 (patch) | |
tree | 2e29e15ccd8a0f7ac6a620d2aa5f2c83c79c1ee0 /c | |
parent | Changes for new build system. (diff) | |
download | rtems-bb5b40485651d5b8f8f49754a7a482cb37c898d0.tar.bz2 |
Install working version of ether_sprintf().
Diffstat (limited to 'c')
-rw-r--r-- | c/src/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/libchip/network/i82586.c | 16 |
2 files changed, 4 insertions, 16 deletions
diff --git a/c/src/ChangeLog b/c/src/ChangeLog index 6eb45f68de..a165c902da 100644 --- a/c/src/ChangeLog +++ b/c/src/ChangeLog @@ -1,3 +1,7 @@ +2004-10-25 Eric Norum <norume@aps.anl.gov> + + * libchip/network/i82586.c: ether_sprintf() is part of networking library. + 2004-10-22 Ralf Corsepius <ralf_corsepius@rtems.org> * alocal/check-custom-bsp.m4: Reflect new location of bspkit*cfg. diff --git a/c/src/libchip/network/i82586.c b/c/src/libchip/network/i82586.c index 2afd015d8b..2191d3777c 100644 --- a/c/src/libchip/network/i82586.c +++ b/c/src/libchip/network/i82586.c @@ -263,22 +263,6 @@ char *bitmask_snprintf(unsigned long value, const char *format, char *buf, int b return buf; } -char *ether_sprintf(unsigned char *addr) -{ - static char buf[32]; - char *b = buf; - int i; - - for (i = 0; i < ETHER_ADDR_LEN; i++) - { - sprintf(b, "%02x:", *addr++); - b += 3; - } - b--; - b = "\0"; - return buf; -} - /* * Front-ends call this function to attach to the MI driver. * |