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 ...

Joerg Sonnenberger joerg at britannica.bec.de
Mon Jan 10 06:08:56 PST 2005


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





More information about the Commits mailing list