Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hppa/include use unsigned over uint32_t so that thi...



details:   https://anonhg.NetBSD.org/src/rev/9a0e70d96736
branches:  trunk
changeset: 335537:9a0e70d96736
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jan 12 09:14:45 2015 +0000

description:
use unsigned over uint32_t so that this file works without stdint.h
being included before hand.

fixes mknative-gcc problems, and likely others.

diffstat:

 sys/arch/hppa/include/ieeefp.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 4b7e4f056d18 -r 9a0e70d96736 sys/arch/hppa/include/ieeefp.h
--- a/sys/arch/hppa/include/ieeefp.h    Mon Jan 12 02:48:20 2015 +0000
+++ b/sys/arch/hppa/include/ieeefp.h    Mon Jan 12 09:14:45 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ieeefp.h,v 1.5 2014/12/27 16:54:03 martin Exp $        */
+/*     $NetBSD: ieeefp.h,v 1.6 2015/01/12 09:14:45 mrg Exp $   */
 
 /* 
  * Written by J.T. Conklin, Apr 6, 1995
@@ -12,8 +12,8 @@
 
 #if defined(_NETBSD_SOURCE) || defined(_ISOC99_SOURCE)
 
-typedef uint32_t fenv_t;
-typedef uint32_t fexcept_t;
+typedef unsigned fenv_t;
+typedef unsigned fexcept_t;
 
 #define        FE_INEXACT      0x01    /* imprecise (loss of precision) */
 #define        FE_UNDERFLOW    0x02    /* underflow exception */



Home | Main Index | Thread Index | Old Index