2005-01-07 Joel Sherrill <joel@OARcorp.com>

* libnetworking/libc/res_debug.c: Added const to eliminate warnings.
This commit is contained in:
Joel Sherrill
2005-01-07 19:47:15 +00:00
parent 28e9f4521a
commit 0e245a1103
2 changed files with 6 additions and 2 deletions

View File

@@ -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> 2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/xdr.h: Remove questionable comments. * librpc/include/rpc/xdr.h: Remove questionable comments.

View File

@@ -567,11 +567,11 @@ precsize_ntoa(prec)
/* converts ascii size/precision X * 10**Y(cm) to 0xXY. moves pointer. */ /* converts ascii size/precision X * 10**Y(cm) to 0xXY. moves pointer. */
static u_int8_t static u_int8_t
precsize_aton(strptr) precsize_aton(strptr)
char **strptr; const char **strptr;
{ {
unsigned int mval = 0, cmval = 0; unsigned int mval = 0, cmval = 0;
u_int8_t retval = 0; u_int8_t retval = 0;
char *cp; const char *cp;
int exponent; int exponent;
int mantissa; int mantissa;