public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ANSIfy include/linux/a.out.h and include/linux/nls.h
@ 2002-05-15 16:06 DervishD
  0 siblings, 0 replies; only message in thread
From: DervishD @ 2002-05-15 16:06 UTC (permalink / raw)
  To: Linux-kernel

    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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-15 16:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-15 16:06 ANSIfy include/linux/a.out.h and include/linux/nls.h DervishD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox