Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys')
-rw-r--r--newlib/libc/sys/arm/syscalls.c4
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;