Messages in this thread | | | Date | Fri, 14 Jan 2005 23:48:05 +0100 | From | Sam Ravnborg <> | Subject | Re: [PATCH 2/8 ] ltt for 2.6.10 : core headers |
| |
> > Definitions used only internally by ltt shall stay in kernel/ > > > > This is generally agreed upon, but not yet common practice. > > Should there be a kernel/ltt-core.h or should I just put all required > definitions in kernel/ltt-core.c? The latter would result in a > cluttered C file, I think. Though there aren't any .h's in kernel/, > so I'm not sure what's the best way to proceed here.
The general approach here is to use a local .h files if there is a considerable amount of definitions. For a smaller set including them in the .c file is fine.
Sam - 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/
| |