Print this page
remove support for non-ANSI compilation

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/cladm.h
          +++ new/usr/src/uts/common/sys/cladm.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   *
  14   14   * When distributing Covered Code, include this CDDL HEADER in each
  15   15   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16   16   * If applicable, add the following below this CDDL HEADER, with the
  17   17   * fields enclosed by brackets "[]" replaced with your own identifying
  18   18   * information: Portions Copyright [yyyy] [name of copyright owner]
  19   19   *
  20   20   * CDDL HEADER END
  21   21   */
  22   22  /*
       23 + * Copyright 2014 Garrett D'Amore <garrett@damore.org>
       24 + *
  23   25   * Copyright 1998-2002 Sun Microsystems, Inc.  All rights reserved.
  24   26   * Use is subject to license terms.
  25   27   */
  26   28  
  27   29  #ifndef _SYS_CLADM_H
  28   30  #define _SYS_CLADM_H
  29   31  
  30      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  31      -
  32   32  #ifdef  __cplusplus
  33   33  extern "C" {
  34   34  #endif
  35   35  
  36   36  #include <sys/types.h>
  37   37  #include <sys/clconf.h>
  38   38  #include <netinet/in.h>
  39   39  
  40   40  
  41   41  /*
↓ open down ↓ 94 lines elided ↑ open up ↑
 136  136          uint32_t        cladm_num_netaddrs;
 137  137          caddr32_t       cladm_netaddrs_array;
 138  138  } cladm_netaddrs32_t;
 139  139  #endif /* defined(_SYSCALL32) */
 140  140  
 141  141  
 142  142  #ifdef _KERNEL
 143  143  extern int cladmin(int fac, int cmd, void *data);
 144  144  extern int cluster_bootflags;
 145  145  #else
 146      -#if defined(__STDC__)
 147  146  extern int _cladm(int fac, int cmd, void *data);
 148      -#else   /* !defined(__STDC__) */
 149      -extern int _cladm();
 150      -#endif  /* defined(__STDC__) */
 151  147  #endif  /* _KERNEL */
 152  148  
 153  149  #ifdef  __cplusplus
 154  150  }
 155  151  #endif
 156  152  
 157  153  
 158  154  #endif  /* _SYS_CLADM_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX