diff options
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/libnetworking/ChangeLog | 10 | ||||
-rw-r--r-- | cpukit/libnetworking/libc/linkaddr.c | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/cpukit/libnetworking/ChangeLog b/cpukit/libnetworking/ChangeLog index a31e6912cb..c09d5419e9 100644 --- a/cpukit/libnetworking/ChangeLog +++ b/cpukit/libnetworking/ChangeLog @@ -1,3 +1,13 @@ +2000-12-08 Joel Sherrill <joel@OARcorp.com> + + * libc/linkaddr.c: Initialized variable to remove warning. + * modem/ppp.c, modem/ppp_tty.c: Made numerous variable declarations + conditional on PPP_COMPRESS and PPP_FILTER. Commented out variables + that were not used because the code using them was commented out. + Removed totally unused variables. + * modem/pppcompress.c: Added parentheses to avoid warnings. + * pppd/pppmain.c: Removed numerous warnings. + 2000-11-30 Joel Sherrill <joel@OARcorp.com> * modem/ppp_tty.c: Changed to include <rtems/termiostypes.h> since diff --git a/cpukit/libnetworking/libc/linkaddr.c b/cpukit/libnetworking/libc/linkaddr.c index 28c16cff05..2bad464b12 100644 --- a/cpukit/libnetworking/libc/linkaddr.c +++ b/cpukit/libnetworking/libc/linkaddr.c @@ -60,7 +60,8 @@ link_addr(addr, sdl) { register char *cp = sdl->sdl_data; char *cplim = sdl->sdl_len + (char *)sdl; - register int byte = 0, state = NAMING, new; + register int byte = 0, state = NAMING, + new=0; /* new=0 to avoid warning */ bzero((char *)&sdl->sdl_family, sdl->sdl_len - 1); sdl->sdl_family = AF_LINK; |