[uClibc-cvs] uClibc/libc/sysdeps/linux/i386/bits kernel_types.h, 1.3, 1.4

Erik Andersen andersen at uclibc.org
Fri Feb 6 07:07:11 UTC 2004


Update of /var/cvs/uClibc/libc/sysdeps/linux/i386/bits
In directory nail:/tmp/cvs-serv20414/i386/bits

Modified Files:
	kernel_types.h 
Log Message:
Sigh.  The 2.6.x kernel removed '__kernel_dev_t' and renamed it as
'__kernel_old_dev_t'.  And of course there is no good way to know
which is in use except checking linux/version.h.  Grumble.

This is rather lame, but for now, define __kernel_old_dev_t to be
the same as __kernel_dev_t.  This will want to be revisited soon.
 -Erik


Index: kernel_types.h
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/i386/bits/kernel_types.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- kernel_types.h	27 Aug 2002 01:20:12 -0000	1.3
+++ kernel_types.h	6 Feb 2004 07:07:08 -0000	1.4
@@ -30,6 +30,7 @@
 typedef unsigned int	__kernel_gid32_t;
 typedef unsigned short	__kernel_old_uid_t;
 typedef unsigned short	__kernel_old_gid_t;
+typedef __kernel_dev_t	__kernel_old_dev_t;
 typedef long long	__kernel_loff_t;
 
 typedef struct {




More information about the uClibc-cvs mailing list