* libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
Remove warnings.
+2004-01-08 Joel Sherrill <joel@oarcorp.com>
+
+ * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
+ Remove warnings.
+
2004-01-08 Joel Sherrill <joel@oarcorp.com>
* libc/sys/rtems/sys/queue.h: New file.
case WC_XDIGIT:
return iswxdigit (c);
default:
+ return 0; /* eliminate warning */
}
/* otherwise unknown */
#define _REENT_MP_RESULT_K(ptr) ((ptr)->_result_k)
#define _REENT_MP_P5S(ptr) ((ptr)->_p5s)
#define _REENT_MP_FREELIST(ptr) ((ptr)->_freelist)
-#define _REENT_ASCTIME_BUF(ptr) (&(ptr)->_new._reent._asctime_buf)
+#define _REENT_ASCTIME_BUF(ptr) ((ptr)->_new._reent._asctime_buf)
#define _REENT_TM(ptr) (&(ptr)->_new._reent._localtime_buf)
#define _REENT_EMERGENCY(ptr) ((ptr)->_emergency)
#define _REENT_STRTOK_LAST(ptr) ((ptr)->_new._reent._strtok_last)
_DEFUN (a64l, (input),
const char *input)
{
- char *ptr;
+ const char *ptr;
char ch;
int i, digit;
unsigned long result = 0;