* 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>
|
2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
* libc/include/sys/reent.h (_l64a_buf): New reentrant area.
|
* libc/include/sys/reent.h (_l64a_buf): New reentrant area.
|
||||||
|
|
|
@ -497,7 +497,7 @@ _sbrk (int incr)
|
||||||
abort ();
|
abort ();
|
||||||
#else
|
#else
|
||||||
errno = ENOMEM;
|
errno = ENOMEM;
|
||||||
return -1;
|
return (caddr_t) -1;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -622,7 +622,7 @@ _system (const char *s)
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
_rename (const char *oldpath, const char *newpath)
|
_rename (const char * oldpath, const char * newpath)
|
||||||
{
|
{
|
||||||
errno = ENOSYS;
|
errno = ENOSYS;
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue