Print this page
5261 libm should stop using synonyms.h
5298 fabs is 0-sized, confuses dis(1) and others
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Approved by: Gordon Ross <gwr@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/Q/lgammal_r.c
          +++ new/usr/src/lib/libm/common/Q/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