Print this page
remove support for non-ANSI compilation

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/vtoc.h
          +++ new/usr/src/uts/common/sys/vtoc.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  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 2014 Garrett D'Amore <garrett@damore.org>
       24 + *
  23   25   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24   26   * Use is subject to license terms.
  25   27   */
  26   28  
  27   29  
  28   30  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  29   31  /*        All Rights Reserved   */
  30   32  
  31   33  
  32   34  #ifndef _SYS_VTOC_H
↓ open down ↓ 287 lines elided ↑ open up ↑
 320  322  
 321  323  
 322  324  #endif /* _SYSCALL32 */
 323  325  
 324  326  /*
 325  327   * These defines are the mode parameter for the checksum routines.
 326  328   */
 327  329  #define CK_CHECKSUM     0       /* check checksum */
 328  330  #define CK_MAKESUM      1       /* generate checksum */
 329  331  
 330      -#if defined(__STDC__)
 331      -
 332  332  extern  int     read_vtoc(int, struct vtoc *);
 333  333  extern  int     write_vtoc(int, struct vtoc *);
 334  334  extern  int     read_extvtoc(int, struct extvtoc *);
 335  335  extern  int     write_extvtoc(int, struct extvtoc *);
 336  336  
 337      -#else
 338      -
 339      -extern  int     read_vtoc();
 340      -extern  int     write_vtoc();
 341      -extern  int     read_extvtoc();
 342      -extern  int     write_extvtoc();
 343      -
 344      -#endif  /* __STDC__ */
 345      -
 346  337  #ifdef  __cplusplus
 347  338  }
 348  339  #endif
 349  340  
 350  341  #endif  /* _SYS_VTOC_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX