Print this page
remove support for non-ANSI compilation
@@ -18,19 +18,19 @@
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_REBOOT_H
#define _SYS_REBOOT_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#ifndef _ASM
#include <sys/types.h>
#endif
#ifdef __cplusplus
@@ -63,15 +63,11 @@
#define RB_NOBOOTCLUSTER 0x00040000 /* don't boot as a cluster */
#define RB_DEBUGENTER 0x00080000 /* enter the debugger at boot */
#ifndef _ASM
-#if defined(__STDC__)
extern int reboot(int, char *);
-#else
-extern int reboot();
-#endif
#if defined(_KERNEL)
extern int boothowto;