diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 5a8f508883..637c8a980c 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,7 @@ +2005-01-07 Joel Sherrill + + * libnetworking/libc/res_debug.c: Added const to eliminate warnings. + 2005-01-07 Ralf Corsepius * librpc/include/rpc/xdr.h: Remove questionable comments. diff --git a/cpukit/libnetworking/libc/res_debug.c b/cpukit/libnetworking/libc/res_debug.c index b747b6e6d2..19fb9180c8 100644 --- a/cpukit/libnetworking/libc/res_debug.c +++ b/cpukit/libnetworking/libc/res_debug.c @@ -567,11 +567,11 @@ precsize_ntoa(prec) /* converts ascii size/precision X * 10**Y(cm) to 0xXY. moves pointer. */ static u_int8_t precsize_aton(strptr) - char **strptr; + const char **strptr; { unsigned int mval = 0, cmval = 0; u_int8_t retval = 0; - char *cp; + const char *cp; int exponent; int mantissa;