diff options
author | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-05-07 00:46:37 +0400 |
---|---|---|
committer | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-05-07 00:46:37 +0400 |
commit | 9c7d6a9d7e22d5eec1d1c6c70707d77925f5b43f (patch) | |
tree | 0a84f817641c3a0213c9ea153f689657450dba9c /newlib | |
parent | c33c3635f7a20a40af570342d9a7609d4a22c39e (diff) |
* libc/sys/arm/syscalls.c (_rename): Add parameter names.
(_sbrk): Add cast of return value.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/sys/arm/syscalls.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 5b97d5c13..0d214a517 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2002-05-06 Nick Clifton <nickc@cambridge.redhat.com> + + * libc/sys/arm/syscalls.c (_rename): Add parameter names. + (_sbrk): Add cast of return value. + 2002-05-06 Jeff Johnston <jjohnstn@redhat.com> * libc/include/sys/reent.h (_l64a_buf): New reentrant area. diff --git a/newlib/libc/sys/arm/syscalls.c b/newlib/libc/sys/arm/syscalls.c index 3871c4618..6b08c3ec3 100644 --- a/newlib/libc/sys/arm/syscalls.c +++ b/newlib/libc/sys/arm/syscalls.c @@ -497,7 +497,7 @@ _sbrk (int incr) abort (); #else errno = ENOMEM; - return -1; + return (caddr_t) -1; #endif } @@ -622,7 +622,7 @@ _system (const char *s) } int -_rename (const char *oldpath, const char *newpath) +_rename (const char * oldpath, const char * newpath) { errno = ENOSYS; return -1; |