[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Two implementations of send() and recv()
- Date: Tue, 15 May 2007 08:52:33 -0500
- From: joel.sherrill at oarcorp.com (Joel Sherrill)
- Subject: Two implementations of send() and recv()
Thomas Doerfler wrote:
> Hi,
>
> today I found, that we have two (identical) implementations of the
> send() and recv() functions.
>
> One implementation is available in cpukit/libnetworking/rtems_syscall.c,
> the other one in cpukit/libnetworking/libc/send.c and .../recv.c
>
> I would vote to remove the implementations in rtems_syscall.c.
>
> Any comments on this?
>
>
Eric Norum would be the definitive answer on this but I am
nearly 100% certain you are correct. The versions in rtems_syscall.c
can be removed.
Does this duplication go down to recvfrom and sendto? I didn't think
it did.
--joel
> wkr,
> Thomas.
>
>
>