lkml.org 
[lkml]   [2005]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.029 / U:0.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site