Re: Recent changes to sysctl.h breaks glibc

H. Peter Anvin (hpa@zytor.com)
Mon, 19 May 2003 21:12:47 -0700


Miles Bader wrote:
> "H. Peter Anvin" <hpa@zytor.com> writes:
>
>>Types use the __kernel_* namespace *only*; structures use struct __kernel_*.
>
>
> What, do you mean _every_ kernel internal type would use such names?
> That's completely horrid...
>

No, I don't mean that.

The kernel-internal headers would typedef these to different names, e.g.

/* linux/types.h */

#include <linux/abi/types.h>

/* Kernel internal types */
typedef __kernel_dev64_t dev_t;
typedef __kernel_ino_t ino_t;

... etc ...

-hpa

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