Print this page
remove support for non-ANSI compilation
@@ -18,10 +18,12 @@
*
* CDDL HEADER END
*/
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -325,26 +327,15 @@
* These defines are the mode parameter for the checksum routines.
*/
#define CK_CHECKSUM 0 /* check checksum */
#define CK_MAKESUM 1 /* generate checksum */
-#if defined(__STDC__)
-
extern int read_vtoc(int, struct vtoc *);
extern int write_vtoc(int, struct vtoc *);
extern int read_extvtoc(int, struct extvtoc *);
extern int write_extvtoc(int, struct extvtoc *);
-#else
-
-extern int read_vtoc();
-extern int write_vtoc();
-extern int read_extvtoc();
-extern int write_extvtoc();
-
-#endif /* __STDC__ */
-
#ifdef __cplusplus
}
#endif
#endif /* _SYS_VTOC_H */