Print this page
remove support for non-ANSI compilation

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/uadmin.h
          +++ new/usr/src/uts/common/sys/uadmin.h
↓ open down ↓ 11 lines elided ↑ open up ↑
  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 + * Copyright 2014 Garrett D'Amore <garrett@damore.org>
       23 + *
  22   24   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   25   * Use is subject to license terms.
  24   26   */
  25   27  
  26   28  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  27   29  /*        All Rights Reserved   */
  28   30  
  29   31  
  30   32  #ifndef _SYS_UADMIN_H
  31   33  #define _SYS_UADMIN_H
↓ open down ↓ 121 lines elided ↑ open up ↑
 153  155  #if !defined(_ASM)
 154  156  
 155  157  #if defined(_KERNEL)
 156  158  extern kmutex_t ualock;
 157  159  extern void mdboot(int, int, char *, boolean_t);
 158  160  extern void mdpreboot(int, int, char *);
 159  161  extern int kadmin(int, int, void *, cred_t *);
 160  162  extern void killall(zoneid_t);
 161  163  #endif
 162  164  
 163      -#if defined(__STDC__)
 164  165  extern int uadmin(int, int, uintptr_t);
 165      -#else
 166      -extern int uadmin();
 167      -#endif
 168  166  
 169  167  #endif  /* _ASM */
 170  168  
 171  169  #ifdef  __cplusplus
 172  170  }
 173  171  #endif
 174  172  
 175  173  #endif  /* _SYS_UADMIN_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX