Print this page
5262 libm needs to be carefully unifdef'd
5268 libm doesn't need to hide symbols which are already local

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/C/libm_synonyms.h
          +++ new/usr/src/lib/libm/common/C/libm_synonyms.h
↓ open down ↓ 22 lines elided ↑ open up ↑
  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   30  #ifndef _LIBM_SYNONYMS_H
  31   31  #define _LIBM_SYNONYMS_H
  32   32  
  33      -#if defined(ELFOBJ) && !defined(lint)
       33 +#if !defined(lint)
  34   34  
  35   35  #define cabs                    __cabs                  /* C99 <complex.h> */
  36   36  #define cabsf                   __cabsf                 /* C99 <complex.h> */
  37   37  #define cabsl                   __cabsl                 /* C99 <complex.h> */
  38   38  #define cacos                   __cacos                 /* C99 <complex.h> */
  39   39  #define cacosf                  __cacosf                /* C99 <complex.h> */
  40   40  #define cacosl                  __cacosl                /* C99 <complex.h> */
  41   41  #define cacosh                  __cacosh                /* C99 <complex.h> */
  42   42  #define cacoshf                 __cacoshf               /* C99 <complex.h> */
  43   43  #define cacoshl                 __cacoshl               /* C99 <complex.h> */
↓ open down ↓ 693 lines elided ↑ open up ↑
 737  737  #define write                   _write
 738  738  #ifdef _REENTRANT
 739  739  #define mutex_lock              _mutex_lock
 740  740  #define mutex_unlock            _mutex_unlock
 741  741  #define thr_getspecific         _thr_getspecific
 742  742  #define thr_keycreate           _thr_keycreate
 743  743  #define thr_main                _thr_main
 744  744  #define thr_setspecific         _thr_setspecific
 745  745  #endif
 746  746  
 747      -#endif /* defined(ELFOBJ) && !defined(lint) */
      747 +#endif /* !defined(lint) */
 748  748  
 749  749  #endif  /* _LIBM_SYNONYMS_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX