Print this page
5367 complex.h /* #if !defined(__cplusplus) */ comment foils gcc fixincludes

Split Close
Expand all
Collapse all
          --- old/usr/src/head/complex.h
          +++ new/usr/src/head/complex.h
↓ open down ↓ 25 lines elided ↑ open up ↑
  26   26   * Use is subject to license terms.
  27   27   */
  28   28  
  29   29  #ifndef _COMPLEX_H
  30   30  #define _COMPLEX_H
  31   31  
  32   32  #ifdef  __cplusplus
  33   33  extern "C" {
  34   34  #endif
  35   35  
  36      -/* #if !defined(__cplusplus) */
  37      -
  38   36  /*
  39   37   * Compilation environments for Solaris must provide the _Imaginary datatype
  40   38   * and the compiler intrinsics _Complex_I and _Imaginary_I
  41   39   */
  42   40  #if defined(__SUNPRO_C)
  43   41  #define _Complex_I      _Complex_I
  44   42  #define _Imaginary_I    _Imaginary_I
  45   43  #else
  46   44  #define _Complex_I      1.0fi
  47   45  #define _Imaginary_I    1.0fi
↓ open down ↓ 71 lines elided ↑ open up ↑
 119  117  extern long double complex clogl(long double complex);
 120  118  extern long double complex conjl(long double complex);
 121  119  extern long double complex cpowl(long double complex, long double complex);
 122  120  extern long double complex cprojl(long double complex);
 123  121  extern long double complex csinhl(long double complex);
 124  122  extern long double complex csinl(long double complex);
 125  123  extern long double complex csqrtl(long double complex);
 126  124  extern long double complex ctanhl(long double complex);
 127  125  extern long double complex ctanl(long double complex);
 128  126  
 129      -/* #endif */    /* !defined(__cplusplus) */
 130  127  #ifdef  __cplusplus
 131  128  }
 132  129  #endif
 133      -
 134  130  #endif  /* _COMPLEX_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX