Print this page
11210 libm should be cstyle(1ONBLD) clean

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/C/libm_protos.h
          +++ new/usr/src/lib/libm/common/C/libm_protos.h
↓ open down ↓ 10 lines elided ↑ open up ↑
  11   11   * and limitations under the License.
  12   12   *
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
       21 +
  21   22  /*
  22   23   * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  23   24   */
       25 +
  24   26  /*
  25   27   * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  26   28   * Use is subject to license terms.
  27   29   */
  28   30  
  29   31  #ifndef _C_LIBM_PROTOS_H
  30   32  #define _C_LIBM_PROTOS_H
  31   33  
  32   34  /*
  33   35   * Many symbols used to be namespaced with __libm to prevent collisions.  All
  34   36   * but these two were otherwise scoped local and directly bound, so that
  35   37   * collision could not occur.
  36   38   *
  37   39   * For reasons unknown, these two are global (but private).
  38   40   */
  39      -#define __rem_pio2      __libm__rem_pio2
  40      -#define __rem_pio2m     __libm__rem_pio2m
       41 +#define __rem_pio2              __libm__rem_pio2
       42 +#define __rem_pio2m             __libm__rem_pio2m
  41   43  
  42   44  #ifndef _ASM
  43   45  #ifdef __STDC__
  44      -#define __P(p)  p
       46 +#define __P(p)                  p
  45   47  #else
  46      -#define __P(p)  ()
       48 +#define __P(p)                  ()
  47   49  #endif
  48   50  
  49   51  #include <sys/ieeefp.h>
  50   52  
  51   53  extern double _SVID_libm_err __P((double, double, int));
  52   54  extern double __k_cos __P((double, double));
  53   55  extern double __k_cos_ __P((double *));
  54   56  extern double __k_lgamma __P((double, int *));
  55   57  extern double __k_sin __P((double, double));
  56   58  extern double __k_sin_ __P((double *));
↓ open down ↓ 74 lines elided ↑ open up ↑
 131  133  extern long int lrintl __P((long double));
 132  134  extern long int lround __P((double));
 133  135  extern long int lroundf __P((float));
 134  136  extern long int lroundl __P((long double));
 135  137  extern long long int llrint __P((double));
 136  138  extern long long int llrintf __P((float));
 137  139  extern long long int llrintl __P((long double));
 138  140  extern long long int llround __P((double));
 139  141  extern long long int llroundf __P((float));
 140  142  extern long long int llroundl __P((long double));
 141      -#endif  /* _ASM */
 142      -
 143      -#endif  /* _C_LIBM_PROTOS_H */
      143 +#endif /* _ASM */
      144 +#endif /* _C_LIBM_PROTOS_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX