diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2005-01-07 19:47:15 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2005-01-07 19:47:15 +0000 |
commit | 0e245a110343f9cecc3baaec3a37c483dc24e969 (patch) | |
tree | 32daccd80eeeadfa7b6770c361d9cdbc84904ccc /cpukit | |
parent | 2005-01-07 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-0e245a110343f9cecc3baaec3a37c483dc24e969.tar.bz2 |
2005-01-07 Joel Sherrill <joel@OARcorp.com>
* libnetworking/libc/res_debug.c: Added const to eliminate warnings.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <joel@OARcorp.com> + + * libnetworking/libc/res_debug.c: Added const to eliminate warnings. + 2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org> * 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; |