2004-01-08 Joel Sherrill <joel@oarcorp.com>
* libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c: Remove warnings.
This commit is contained in:
parent
9f13ccb356
commit
c9524c0cd8
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2004-01-08 Joel Sherrill <joel@oarcorp.com>
|
||||||
|
|
||||||
* libc/sys/rtems/sys/queue.h: New file.
|
* libc/sys/rtems/sys/queue.h: New file.
|
||||||
|
|
|
@ -62,6 +62,7 @@ _DEFUN(iswctype,(c, desc), wint_t c _AND wctype_t desc)
|
||||||
case WC_XDIGIT:
|
case WC_XDIGIT:
|
||||||
return iswxdigit (c);
|
return iswxdigit (c);
|
||||||
default:
|
default:
|
||||||
|
return 0; /* eliminate warning */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* otherwise unknown */
|
/* otherwise unknown */
|
||||||
|
|
|
@ -698,7 +698,7 @@ struct _reent
|
||||||
#define _REENT_MP_RESULT_K(ptr) ((ptr)->_result_k)
|
#define _REENT_MP_RESULT_K(ptr) ((ptr)->_result_k)
|
||||||
#define _REENT_MP_P5S(ptr) ((ptr)->_p5s)
|
#define _REENT_MP_P5S(ptr) ((ptr)->_p5s)
|
||||||
#define _REENT_MP_FREELIST(ptr) ((ptr)->_freelist)
|
#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_TM(ptr) (&(ptr)->_new._reent._localtime_buf)
|
||||||
#define _REENT_EMERGENCY(ptr) ((ptr)->_emergency)
|
#define _REENT_EMERGENCY(ptr) ((ptr)->_emergency)
|
||||||
#define _REENT_STRTOK_LAST(ptr) ((ptr)->_new._reent._strtok_last)
|
#define _REENT_STRTOK_LAST(ptr) ((ptr)->_new._reent._strtok_last)
|
||||||
|
|
|
@ -62,7 +62,7 @@ long
|
||||||
_DEFUN (a64l, (input),
|
_DEFUN (a64l, (input),
|
||||||
const char *input)
|
const char *input)
|
||||||
{
|
{
|
||||||
char *ptr;
|
const char *ptr;
|
||||||
char ch;
|
char ch;
|
||||||
int i, digit;
|
int i, digit;
|
||||||
unsigned long result = 0;
|
unsigned long result = 0;
|
||||||
|
|
Loading…
Reference in New Issue