ANSIfy include/linux/a.out.h and include/linux/nls.h

DervishD (raul@pleyades.net)
Wed, 15 May 2002 18:06:35 +0200


Hello all :))

The GCC compiler insists on ANSIfying the two files mentioned in
the subject, and I think that it should be done by the kernel
maintainers, not GCC ones.

The little patch for 'nls.h' is to add conditional preprocessor
constructs around a typedef:

typedef __u16 wchar_t;

>#ifndef __cplusplus
typedef __u16 wchar_t;
>#endif

The patch for 'a.out.h' is smaller, though:

|#ifdef linux

|#ifdef __linux__

Well, I cannot really see why the ANSI standard is violated in
those two files, but if it is, the changes are pretty small to do...

Raśl
-
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/