Print this page
remove support for non-ANSI compilation
*** 18,36 ****
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 1998-2002 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_CLADM_H
#define _SYS_CLADM_H
- #pragma ident "%Z%%M% %I% %E% SMI"
-
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/types.h>
--- 18,36 ----
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright 1998-2002 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_CLADM_H
#define _SYS_CLADM_H
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/types.h>
*** 141,155 ****
#ifdef _KERNEL
extern int cladmin(int fac, int cmd, void *data);
extern int cluster_bootflags;
#else
- #if defined(__STDC__)
extern int _cladm(int fac, int cmd, void *data);
- #else /* !defined(__STDC__) */
- extern int _cladm();
- #endif /* defined(__STDC__) */
#endif /* _KERNEL */
#ifdef __cplusplus
}
#endif
--- 141,151 ----