Print this page
5261 libm should stop using synonyms.h

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/m9x/remquo.c
          +++ new/usr/src/lib/libm/common/m9x/remquo.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 remquo = __remquo
       30 +#pragma weak __remquo = remquo
  31   31  
  32   32  /* INDENT OFF */
  33   33  /*
  34   34   * double remquo(double x, double y, int *quo) return remainder(x,y) and an
  35   35   * integer pointer quo such that *quo = N mod {2**31}, where N is the
  36   36   * exact integral part of x/y rounded to nearest even.
  37   37   *
  38   38   * remquo call internal fmodquo
  39   39   */
  40   40  /* INDENT ON */
  41   41  
  42   42  #include "libm.h"
  43      -#include "libm_synonyms.h"
  44   43  #include "libm_protos.h"
  45   44  #include <math.h>               /* fabs() */
  46   45  #include <sys/isa_defs.h>
  47   46  
  48   47  #if defined(_BIG_ENDIAN)
  49   48  #define HIWORD  0
  50   49  #define LOWORD  1
  51   50  #else
  52   51  #define HIWORD  1
  53   52  #define LOWORD  0
↓ open down ↓ 214 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX