summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2005-01-07 19:47:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2005-01-07 19:47:15 +0000
commit0e245a110343f9cecc3baaec3a37c483dc24e969 (patch)
tree32daccd80eeeadfa7b6770c361d9cdbc84904ccc /cpukit/libnetworking/libc
parent2005-01-07 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-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/libnetworking/libc')
-rw-r--r--cpukit/libnetworking/libc/res_debug.c4
1 files changed, 2 insertions, 2 deletions
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;