* libc/sys/arm/syscalls.c (_rename): Add parameter names.

(_sbrk): Add cast of return value.
This commit is contained in:
Thomas Fitzsimmons 2002-05-06 20:46:37 +00:00
parent c33c3635f7
commit 9c7d6a9d7e
2 changed files with 7 additions and 2 deletions

View File

@ -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.

View File

@ -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;