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/libc/sys/arm/syscalls.c | |
parent | c33c3635f7a20a40af570342d9a7609d4a22c39e (diff) |
* libc/sys/arm/syscalls.c (_rename): Add parameter names.
(_sbrk): Add cast of return value.
Diffstat (limited to 'newlib/libc/sys/arm/syscalls.c')
-rw-r--r-- | newlib/libc/sys/arm/syscalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |