Print this page
5261 libm should stop using synonyms.h

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/m9x/fex_log.c
          +++ new/usr/src/lib/libm/common/m9x/fex_log.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 fex_get_log = __fex_get_log
  31      -#pragma weak fex_set_log = __fex_set_log
  32      -#pragma weak fex_get_log_depth = __fex_get_log_depth
  33      -#pragma weak fex_set_log_depth = __fex_set_log_depth
  34      -#pragma weak fex_log_entry = __fex_log_entry
       30 +#pragma weak __fex_get_log = fex_get_log
       31 +#pragma weak __fex_set_log = fex_set_log
       32 +#pragma weak __fex_get_log_depth = fex_get_log_depth
       33 +#pragma weak __fex_set_log_depth = fex_set_log_depth
       34 +#pragma weak __fex_log_entry = fex_log_entry
  35   35  
  36      -#include "fenv_synonyms.h"
  37   36  #include <stdio.h>
  38   37  #include <stdlib.h>
  39   38  #include <unistd.h>
  40   39  #include <string.h>
  41   40  #include <signal.h>
  42   41  #include <ucontext.h>
  43   42  #include <sys/frame.h>
  44   43  #include <fenv.h>
  45   44  #include <sys/ieeefp.h>
  46   45  #include <thread.h>
↓ open down ↓ 353 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX