Print this page
5261 libm should stop using synonyms.h

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/m9x/feround.c
          +++ new/usr/src/lib/libm/common/m9x/feround.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 fegetround = __fegetround
  31      -#pragma weak fesetround = __fesetround
       30 +#pragma weak __fegetround = fegetround
       31 +#pragma weak __fesetround = fesetround
  32   32  
  33   33  #pragma weak fegetround96 = __fegetround
  34      -#pragma weak fesetround96 = __fesetround96
  35   34  
  36      -#include "fenv_synonyms.h"
  37   35  #include <fenv.h>
  38   36  #include <ucontext.h>
  39   37  #include <thread.h>
  40   38  #include "fex_handler.h"
  41   39  #include "fenv_inlines.h"
  42   40  
  43   41  #if defined(__i386) && !defined(__amd64)
  44   42  #include <float.h>
  45   43  #endif
  46   44  
↓ open down ↓ 37 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX