Print this page
5261 libm should stop using synonyms.h

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/LD/lgammal_r.c
          +++ new/usr/src/lib/libm/common/LD/lgammal_r.c
↓ open down ↓ 23 lines elided ↑ open up ↑
  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   30  /*
  31   31   * long double lgammal_r(long double x, int *signgamlp);
  32   32   */
  33   33  
  34      -#pragma weak lgammal_r = __lgammal_r
       34 +#pragma weak __lgammal_r = lgammal_r
  35   35  
  36   36  #include "libm.h"
  37   37  #include "longdouble.h"
  38   38  
  39   39  long double
  40   40  lgammal_r(long double x, int *signgamlp) {
  41   41          return __k_lgammal(x, signgamlp);
  42   42  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX