Print this page
5261 libm should stop using synonyms.h

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/m9x/feexcept.c
          +++ new/usr/src/lib/libm/common/m9x/feexcept.c
↓ open down ↓ 19 lines elided ↑ open up ↑
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  24   24   */
  25   25  /*
  26   26   * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  27   27   * Use is subject to license terms.
  28   28   */
  29   29  
  30      -#pragma weak feclearexcept = __feclearexcept
  31      -#pragma weak feraiseexcept = __feraiseexcept
  32      -#pragma weak fetestexcept = __fetestexcept
  33      -#pragma weak fegetexceptflag = __fegetexceptflag
  34      -#pragma weak fesetexceptflag = __fesetexceptflag
  35      -
  36      -#pragma weak feclearexcept96 = __feclearexcept
  37      -#pragma weak feraiseexcept96 = __feraiseexcept
  38      -#pragma weak fetestexcept96 = __fetestexcept
  39      -#pragma weak fegetexceptflag96 = __fegetexceptflag
  40      -#pragma weak fesetexceptflag96 = __fesetexceptflag
       30 +#pragma weak __feclearexcept = feclearexcept
       31 +#pragma weak __feraiseexcept = feraiseexcept
       32 +#pragma weak __fetestexcept = fetestexcept
       33 +#pragma weak __fegetexceptflag = fegetexceptflag
       34 +#pragma weak __fesetexceptflag = fesetexceptflag
       35 +
       36 +#pragma weak feclearexcept96 = feclearexcept
       37 +#pragma weak feraiseexcept96 = feraiseexcept
       38 +#pragma weak fetestexcept96 = fetestexcept
       39 +#pragma weak fegetexceptflag96 = fegetexceptflag
       40 +#pragma weak fesetexceptflag96 = fesetexceptflag
  41   41  
  42      -#include "fenv_synonyms.h"
  43   42  #include <fenv.h>
  44   43  #include <sys/ieeefp.h>
  45   44  #include <ucontext.h>
  46   45  #include <thread.h>
  47   46  #include "fex_handler.h"
  48   47  #include "fenv_inlines.h"
  49   48  
  50   49  
  51   50  int feclearexcept(int e)
  52   51  {
↓ open down ↓ 86 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX