mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 04:19:21 +08:00
* libc/sys/arm/syscalls.c (_rename): Add parameter names.
(_sbrk): Add cast of return value.
This commit is contained in:
parent
c33c3635f7
commit
9c7d6a9d7e
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user