Date: Tue, 7 May 2002 20:01:21 -0500 (CDT) From: John Utz <john@utzweb.net> To: freebsd-hackers@freebsd.org Cc: john@utzweb.net Subject: how does the kernel build process resolve struct defs that arent defined in the compilation unit, declared extern or included in? Message-ID: <Pine.LNX.4.44.0205071944040.16721-100000@jupiter.linuxengine.net>
next in thread | raw e-mail | index | archive | help
Hi; if /usr/src/sys/isa/pnp.c has a structure that is an array of struct pnp_cinfo and struct pnp_cinfo is only declared in /usr/src/sys/boot/isapnp.h and struct pnp_cinfo isnt declared extern in /usr/src/sys/isa/pnp.c and /usr/src/sys/isa/pnp.c doesnt #include <isa/isapnp.h> nore does any of the files that pnp.c actually includes, then how could it possibly compile? i have a pnp.o in my build dir and the pnp stuff works in my kernel, so i am kinda lost any insight into how this works, or any pointer to mistakes i may have made in interpreting the facts on my box would be greatly appreciated. tnx! johnu -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0205071944040.16721-100000>