definition of u_quad_t in coda.h

Arvind Sankar (arvinds@mit.edu)
Mon, 14 Jun 1999 17:33:04 -0400


Minor patch to include/linux/coda.h: (I hope this is the right way to do it)
--- include/linux/coda.h 1999/04/15 22:07:53 1.12
+++ include/linux/coda.h 1999/06/14 21:09:51 1.12.50.2
@@ -100,10 +100,14 @@

#if defined(__linux__)
#define cdev_t u_quad_t
+#ifndef __KERNEL__
#if !defined(_UQUAD_T_) && (!defined(__GLIBC__) || __GLIBC__ < 2)
#define _UQUAD_T_ 1
typedef unsigned long long u_quad_t;
#endif
+#else /*__KERNEL__ */
+typedef unsigned long long u_quad_t;
+#endif /* __KERNEL__ */
#else
#define cdev_t dev_t
#endif

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/