Added cdecl.
committer: mfx <mfx> 1083812698 +0000
This commit is contained in:
@@ -94,6 +94,7 @@ do_brk(void *addr)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
|
__attribute__((cdecl))
|
||||||
do_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset)
|
do_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset)
|
||||||
{
|
{
|
||||||
(void)len; (void)prot; (void)flags; (void)fd; (void)offset;
|
(void)len; (void)prot; (void)flags; (void)fd; (void)offset;
|
||||||
|
|||||||
@@ -128,6 +128,7 @@ static uint32_t ascii5(char *p, uint32_t v, unsigned n)
|
|||||||
|
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
|
__attribute__((cdecl))
|
||||||
do_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset)
|
do_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset)
|
||||||
{
|
{
|
||||||
(void)len; (void)prot; (void)flags; (void)fd; (void)offset;
|
(void)len; (void)prot; (void)flags; (void)fd; (void)offset;
|
||||||
|
|||||||
@@ -112,6 +112,7 @@ do_brk(void *addr)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
|
__attribute__((cdecl))
|
||||||
do_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset)
|
do_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset)
|
||||||
{
|
{
|
||||||
(void)len; (void)prot; (void)flags; (void)fd; (void)offset;
|
(void)len; (void)prot; (void)flags; (void)fd; (void)offset;
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ do_brk(void *addr)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
|
__attribute__((cdecl))
|
||||||
do_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset)
|
do_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset)
|
||||||
{
|
{
|
||||||
(void)len; (void)prot; (void)flags; (void)fd; (void)offset;
|
(void)len; (void)prot; (void)flags; (void)fd; (void)offset;
|
||||||
|
|||||||
Reference in New Issue
Block a user