Print this page

        

@@ -25,12 +25,10 @@
 /*
  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-/* #include <sys/isa_defs.h> */
-
 /* the following enums must match the bit positions in fenv.h */
 enum fex_exception {
         fex_inexact             = 0,
         fex_division    = 1,
         fex_underflow   = 2,

@@ -63,11 +61,11 @@
 extern void __fex_get_op(siginfo_t *, ucontext_t *, fex_info_t *);
 extern void __fex_st_result(siginfo_t *, ucontext_t *, fex_info_t *);
 
 /* inline templates and macros for accessing fp state */
 extern void __fenv_getfsr(unsigned long *);
-extern void __fenv_setfsr(unsigned const long *);
+extern void __fenv_setfsr(const unsigned long *);
 
 #if defined(__sparc)
 
 #define __fenv_get_rd(X)        ((X>>30)&0x3)
 #define __fenv_set_rd(X,Y)      X=(X&~0xc0000000ul)|((Y)<<30)