Bug #1

lib/libcr/sys/ cleanup

Added by kevin.kane over 7 years ago. Updated over 6 years ago.

Status:Closed Start date:
Priority:Low Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

1) make function defs ansi

--- ../mmap.c.klk 2005-12-06 17:02:49.000000000 -0500
+++ lib/libcr/sys/mmap.c 2005-12-06 17:00:30.000000000 -0500
@@ -43,13 +43,7 @@
* is not supplied by GCC 1.X but is supplied by GCC 2.X.
*/
void *
-mmap(addr, len, prot, flags, fd, offset)
- void * addr;
- size_t len;
- int prot;
- int flags;
- int fd;
- off_t offset;
+mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset)
{

return((void *)(long)__syscall((quad_t)SYS_mmap, addr, len, prot, flags,


Related todos

History

Updated by corecode over 7 years ago

kevin kane wrote:
> 1) make function defs ansi

we appreciate your effort in cleaning up the sources, yet i am not sure
if we should spend time on libcr at the moment, as it is very outdated
and not used at all.

What do people think?

cheers
simon

Updated by dillon over 7 years ago

:kevin kane wrote:
:> 1) make function defs ansi
:
:we appreciate your effort in cleaning up the sources, yet i am not sure
:if we should spend time on libcr at the moment, as it is very outdated
:and not used at all.
:
:What do people think?
:
:cheers
: simon

It's probably going to be thrown away now that libc is rapidly becoming
thread-friendly.

-Matt
Matthew Dillon
<dillon@backplane.com>

Also available in: Atom PDF