Print this page
remove support for non-ANSI compilation

Split Close
Expand all
Collapse all
          --- old/usr/src/head/sac.h
          +++ new/usr/src/head/sac.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 (c) 1997-1998 by Sun Microsystems, Inc.
  24   26   * All rights reserved.
  25   27   */
  26   28  
  27   29  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  28   30  /*        All Rights Reserved   */
  29   31  
  30   32  
  31   33  #ifndef _SAC_H
  32   34  #define _SAC_H
  33   35  
  34      -#pragma ident   "%Z%%M% %I%     %E% SMI"        /* SVr4.0 1.4 */
  35      -
  36   36  #include <sys/types.h>
  37   37  
  38   38  #ifdef  __cplusplus
  39   39  extern "C" {
  40   40  #endif
  41   41  
  42   42  #define IDLEN           4       /* length in bytes of a utmp id */
  43   43  #define SC_WILDC        0xff    /* wild character for utmp ids */
  44   44  #define PMTAGSIZE       14      /* maximum length in bytes for */
  45   45                                  /* a port monitor tag */
↓ open down ↓ 90 lines elided ↑ open up ↑
 136  136  #define E_NOPRIV        2       /* user not privileged for operation */
 137  137  #define E_SAFERR        3       /* generic SAF error */
 138  138  #define E_SYSERR        4       /* system error */
 139  139  #define E_NOEXIST       5       /* invalid specification */
 140  140  #define E_DUP           6       /* entry already exists */
 141  141  #define E_PMRUN 7       /* port monitor is running */
 142  142  #define E_PMNOTRUN      8       /* port monitor is not running */
 143  143  #define E_RECOVER       9       /* in recovery */
 144  144  #define E_SACNOTRUN     10      /* sac daemon is not running */
 145  145  
 146      -#ifdef __STDC__
 147  146  extern int      doconfig(int, char *, long);
 148      -#else
 149      -extern int      doconfig();
 150      -#endif
 151  147  
 152  148  #ifdef  __cplusplus
 153  149  }
 154  150  #endif
 155  151  
 156  152  #endif  /* _SAC_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX