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

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

Post by Dervish » Fri, 17 May 2002 01:10:09



    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...

    Ral
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. SSI includes including relative includes?

Using apache's server-side includes, is there a way to have a document
include a 'master' template which in turn includes some other files
that are located relative to the original document, not the other
inclusion?  The idea here is to be able to add the same header to
a large number of documents but make them appear with navigation
aids that relate to their file system location.  It looks like
includes are always processed relative to the currently active location
so to make the scheme work a copy of the master template will have
to be in each subdirectory instead of having only one at an absolute
location.

Les Mikesell

2. NEWBIE question: Trying to install... hard drive troubles.

3. #include <linux/errno.h> WHERE are these includes?

4. CAJUN on FreeBSD?

5. One more time: /usr/include/linux, /usr/include/asm

6. non root user write permissions using automount

7. Help - clashes between /usr/include and /usr/include/linux

8. How to automatically get 80x34 screen size for bash?

9. #include <asm/bitops.h> -> #include <linux/bitops.h>

10. UNIX include files = linux include files?

11. Consolidate include/asm/fcntl.h into include/linux/fcntl.h

12. include file error--/usr/include/linux

13. gcc default include path ('#include <linux/xxxx.h>' fails)