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: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Mon, 10 Jan 2005 15:08:10 +0100
Mail-followup-to: commits@crater.dragonflybsd.org

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?

Joerg



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