Corrected (?) definition of u_quad_t:
authorAndrew Moore <alm@FreeBSD.org>
Sun, 19 Dec 1993 21:32:50 +0000 (21:32 +0000)
committerAndrew Moore <alm@FreeBSD.org>
Sun, 19 Dec 1993 21:32:50 +0000 (21:32 +0000)
#ifdef __STRICT_ANSI__
typedef quad_t __attribute (( mode (DI) ));
typedef unsigned u_quad_t __attribute (( mode (DI) ));
#else
typedef long long quad_t;
typedef unsigned long long u_quad_t;
#endif
typedef quad_t *        qaddr_t;

sys/sys/types.h

index a6e4890..bbf183c 100644 (file)
@@ -31,7 +31,7 @@
  * SUCH DAMAGE.
  *
  *     from: @(#)types.h       7.17 (Berkeley) 5/6/91
  * SUCH DAMAGE.
  *
  *     from: @(#)types.h       7.17 (Berkeley) 5/6/91
- *     $Id: types.h,v 1.4 1993/11/30 21:54:25 ats Exp $
+ *     $Id: types.h,v 1.5 1993/12/19 05:12:57 alm Exp $
  */
 
 #ifndef _TYPES_H_
  */
 
 #ifndef _TYPES_H_
@@ -60,10 +60,11 @@ typedef u_long      fixpt_t;                /* fixed point number */
 #ifndef _POSIX_SOURCE
 #ifdef __STRICT_ANSI__
 typedef quad_t __attribute (( mode (DI) ));
 #ifndef _POSIX_SOURCE
 #ifdef __STRICT_ANSI__
 typedef quad_t __attribute (( mode (DI) ));
+typedef unsigned u_quad_t __attribute (( mode (DI) ));
 #else
 typedef long long quad_t;
 #else
 typedef long long quad_t;
+typedef unsigned long long u_quad_t;
 #endif
 #endif
-typedef unsigned quad_t u_quad_t;
 typedef        quad_t *        qaddr_t;
 
 /* GCC_1 quad definitions */
 typedef        quad_t *        qaddr_t;
 
 /* GCC_1 quad definitions */