lkml.org 
[lkml]   [2006]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 1/2] Create initial kernel ABI header infrastructure
Hello!

> As a result, I kinda want to stay away from anything that remotely
> looks like a conflicting namespace. Using such a unique namespace
> means we can also safely do this if necessary (Since you can't
> "typedef struct foo struct bar"):
>
> kabi/foo.h:
> struct __kabi_foo {
> int x;
> int y;
> };
>
> linux/foo.h:
> #define __kabi_foo foo
> #include <kabi/foo.h>

This looks very fragile -- <kabi/foo.h> can be included earlier by another
header.

Have a nice fortnight
--
Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
And God said: E = 1/2mv^2 - Ze^2/r ...and there *WAS* light!
-
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: 2006-03-26 15:02    [W:0.945 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site