DragonFly BSD
DragonFly commits List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/net bpf.c if.c if_arcsubr.c if_atmsubr.c if_ethersubr.c if_fddisubr.c if_iso88025subr.c radix.c raw_usrreq.c route.c route.h rtsock.c src/sys/net/faith if_faith.c src/sys/netinet if_ether.c in.c in_cksum.c in_gif.c in_pcb.c ...


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Mon, 10 Jan 2005 23:41:09 +0900

On Mon, Jan 10, 2005 at 03:08:10PM +0100, Joerg Sonnenberger wrote:
> On Mon, Jan 10, 2005 at 10:38:24PM +0900, YONETANI Tomokazu wrote:
> > If _KERNEL_STRUCTURES also covers typedefs and macros, and hides
> > declaration of functions like accept() or bind() from <sys/socket.h>,
> > that's what is wanted here.
> 
> You can't hide the definition of the prototypes. I also don't think we want
> to provide a hack in the header file just for the sake of linux emulation.
> 
> Have you thought about renaming the critical functions in the sys/socket.h
> by adding "#define bind df_bind" and so on before including it?

Oh, that's much better an idea, but I haven't think of that. I'm going
to ask the maintainer of linuxpluginwrapper about this. Thank you.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]