It's an eyesore, isn't it? :)struct _LA(whatever) {
int foo;
int bar;
};
struct _LA(another) {
...
};
this is a good sign that this is all very over designed :)
namespace pollution is perhaps evil, but we also should not overreact.This is true for a small enough application. But things grow, libraries are added, and includes keep pulling other includes in. Sooner or later you'll have a collision.
Especially for struct names. *IF* they are in a "narrow enough" header,
the user of the header knows what he is doing, and accepts these to be
in his namespace.
The problem is things like u64 etc that is VERY common in all headers,Agree. But to be on the safe side one can use uint64_t and friends (which the kernel can typedef to u64 and first degree relatives)
but then again __u64 etc are just fine, history has proven that already.