Messages in this thread | | | From | Daniel Phillips <> | Subject | Re: [patch] avoid reference to struct page before it's declared | Date | Mon, 30 Sep 2002 16:44:51 +0200 |
| |
On Saturday 28 September 2002 22:56, David Mosberger wrote: > GCC currently warns when page-flags.h gets included before struct page > is declared. Patch below fixes this.
A better way is to compile struct page and related structure definitions right at the beginning of mm.h, before declaring any helper functions. I posted a patch to do this, earlier in 2.4, and should bring it forward.
-- Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |