Module Name:    src
Committed By:   mrg
Date:           Mon Jan 12 09:14:45 UTC 2015

Modified Files:
        src/sys/arch/hppa/include: ieeefp.h

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

fixes mknative-gcc problems, and likely others.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/hppa/include/ieeefp.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hppa/include/ieeefp.h
diff -u src/sys/arch/hppa/include/ieeefp.h:1.5 src/sys/arch/hppa/include/ieeefp.h:1.6
--- src/sys/arch/hppa/include/ieeefp.h:1.5	Sat Dec 27 16:54:03 2014
+++ src/sys/arch/hppa/include/ieeefp.h	Mon Jan 12 09:14:45 2015
@@ -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 */

Reply via email to