unbalanced endif's
SCCS-vsn: sys/sys/sysctl.h 7.22
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)sysctl.h 7.21 (Berkeley) %G%
+ * @(#)sysctl.h 7.22 (Berkeley) %G%
+#ifndef _SYS_SYSCTL_H_
+#define _SYS_SYSCTL_H_
+
/*
* These are for the eproc structure defined below.
*/
/*
* These are for the eproc structure defined below.
*/
#define CTL_DEBUG_VALUE 1 /* int: variable value */
#define CTL_DEBUG_MAXID 20
#define CTL_DEBUG_VALUE 1 /* int: variable value */
#define CTL_DEBUG_MAXID 20
-#ifdef KERNEL
-#ifdef DEBUG
+#ifdef KERNEL
+#ifdef DEBUG
/*
* CTL_DEBUG variables.
*
/*
* CTL_DEBUG variables.
*
extern struct ctldebug debug5, debug6, debug7, debug8, debug9;
extern struct ctldebug debug10, debug11, debug12, debug13, debug14;
extern struct ctldebug debug15, debug16, debug17, debug18, debug19;
extern struct ctldebug debug5, debug6, debug7, debug8, debug9;
extern struct ctldebug debug10, debug11, debug12, debug13, debug14;
extern struct ctldebug debug15, debug16, debug17, debug18, debug19;
/*
* Internal sysctl function calling convention:
/*
* Internal sysctl function calling convention:
int sysctl_rdstruct __P((void *, size_t *, void *, void *, int));
void fill_eproc __P((struct proc *, struct eproc *));
int sysctl_rdstruct __P((void *, size_t *, void *, void *, int));
void fill_eproc __P((struct proc *, struct eproc *));
#include <sys/cdefs.h>
__BEGIN_DECLS
int sysctl __P((int *, u_int, void *, size_t *, void *, size_t));
__END_DECLS
#include <sys/cdefs.h>
__BEGIN_DECLS
int sysctl __P((int *, u_int, void *, size_t *, void *, size_t));
__END_DECLS
+#endif /* KERNEL */
+#endif /* !_SYS_SYSCTL_H_ */