Print this page
5261 libm should stop using synonyms.h

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/complex/carg.c
          +++ new/usr/src/lib/libm/common/complex/carg.c
↓ open down ↓ 18 lines elided ↑ open up ↑
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  23   23   */
  24   24  /*
  25   25   * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  26   26   * Use is subject to license terms.
  27   27   */
  28   28  
  29      -#pragma weak carg = __carg
       29 +#pragma weak __carg = carg
  30   30  
  31      -#include "libm_synonyms.h"
  32   31  #include <math.h>               /* atan2 */
  33   32  #include "complex_wrapper.h"
  34   33  
  35   34  static const double
  36   35          pi      = 3.14159265358979311600e+00,
  37   36          pi_lo   = 1.22464679914735320717e-16;
  38   37  
  39   38  double
  40   39  carg(dcomplex z) {
  41   40          int     ix, iy;
↓ open down ↓ 12 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX