ansification: remove _PTR
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
@ -9,7 +9,7 @@ ssize_t
|
||||
_DEFUN (_pread_r, (rptr, fd, buf, n, off),
|
||||
struct _reent *rptr,
|
||||
int fd,
|
||||
_PTR buf,
|
||||
void *buf,
|
||||
size_t n,
|
||||
off_t off)
|
||||
{
|
||||
@ -35,7 +35,7 @@ _DEFUN (_pread_r, (rptr, fd, buf, n, off),
|
||||
ssize_t
|
||||
_DEFUN (__libc_pread, (fd, buf, n, off),
|
||||
int fd,
|
||||
_PTR buf,
|
||||
void *buf,
|
||||
size_t n,
|
||||
off_t off)
|
||||
{
|
||||
|
@ -32,7 +32,7 @@ Supporting OS subroutine required: <<read>>, <<lseek64>>.
|
||||
ssize_t
|
||||
_DEFUN (__libc_pread64, (fd, buf, n, off),
|
||||
int fd,
|
||||
_PTR buf,
|
||||
void *buf,
|
||||
size_t n,
|
||||
loff_t off)
|
||||
{
|
||||
|
@ -9,7 +9,7 @@ ssize_t
|
||||
_DEFUN (_pwrite_r, (rptr, fd, buf, n, off),
|
||||
struct _reent *rptr,
|
||||
int fd,
|
||||
const _PTR buf,
|
||||
const void *buf,
|
||||
size_t n,
|
||||
off_t off)
|
||||
{
|
||||
@ -35,7 +35,7 @@ _DEFUN (_pwrite_r, (rptr, fd, buf, n, off),
|
||||
ssize_t
|
||||
_DEFUN (__libc_pwrite, (fd, buf, n, off),
|
||||
int fd,
|
||||
const _PTR buf,
|
||||
const void *buf,
|
||||
size_t n,
|
||||
off_t off)
|
||||
{
|
||||
|
@ -32,7 +32,7 @@ Supporting OS subroutine required: <<write>>, <<lseek64>>.
|
||||
ssize_t
|
||||
_DEFUN (__libc_pwrite64, (fd, buf, n, off),
|
||||
int fd,
|
||||
_PTR buf,
|
||||
void *buf,
|
||||
size_t n,
|
||||
loff_t off)
|
||||
{
|
||||
|
@ -30,7 +30,7 @@ ret func body
|
||||
RTEMS_STUB(void *,malloc(size_t s), { return 0; })
|
||||
RTEMS_STUB(void *,realloc(void* p, size_t s), { return 0; })
|
||||
RTEMS_STUB(void, free(void* ptr), { })
|
||||
RTEMS_STUB(_PTR, calloc(size_t s1, size_t s2), { return 0; })
|
||||
RTEMS_STUB(void *, calloc(size_t s1, size_t s2), { return 0; })
|
||||
RTEMS_STUB(int, posix_memalign(void **p, size_t si, size_t s2), { return -1; })
|
||||
|
||||
/* Stubs for routines from RTEMS <sys/lock.h> */
|
||||
@ -186,10 +186,10 @@ RTEMS_STUB(int, issetugid (void), { return 0; })
|
||||
#endif
|
||||
|
||||
/* stdlib.h */
|
||||
RTEMS_STUB(_PTR, _realloc_r(struct _reent *r, _PTR p, size_t s), { return 0; })
|
||||
RTEMS_STUB(_PTR, _calloc_r(struct _reent *r, size_t s1, size_t s2), { return 0; })
|
||||
RTEMS_STUB(_PTR, _malloc_r(struct _reent * r, size_t s), { return 0; })
|
||||
RTEMS_STUB(_VOID, _free_r(struct _reent *r, _PTR *p), { })
|
||||
RTEMS_STUB(void *, _realloc_r(struct _reent *r, void *p, size_t s), { return 0; })
|
||||
RTEMS_STUB(void *, _calloc_r(struct _reent *r, size_t s1, size_t s2), { return 0; })
|
||||
RTEMS_STUB(void *, _malloc_r(struct _reent * r, size_t s), { return 0; })
|
||||
RTEMS_STUB(_VOID, _free_r(struct _reent *r, void **p), { })
|
||||
|
||||
/* stubs for functions required by libc/stdlib */
|
||||
RTEMS_STUB(void, __assert_func(const char *file, int line, const char *failedexpr), { })
|
||||
|
Reference in New Issue
Block a user