From 0e245a110343f9cecc3baaec3a37c483dc24e969 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 7 Jan 2005 19:47:15 +0000 Subject: [PATCH] 2005-01-07 Joel Sherrill * libnetworking/libc/res_debug.c: Added const to eliminate warnings. --- cpukit/ChangeLog | 4 ++++ cpukit/libnetworking/libc/res_debug.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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;