/*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
#include <sys/appleapiopts.h>
+#include <sys/cdefs.h>
/* Kernel Events Protocol */
#define SYSPROTO_EVENT 1 /* kernel events protocol */
#ifdef KERNEL
-#ifdef __APPLE_API_PRIVATE
+#ifdef KERNEL_PRIVATE
extern struct domain systemdomain;
/* built in system domain protocols init function */
-int kern_event_init();
-int kern_control_init();
+__BEGIN_DECLS
+int kern_event_init(void);
+int kern_control_init(void);
+__END_DECLS
-#endif /* __APPLE_API_PRIVATE */
+#endif /* KERNEL_PRIVATE */
#endif /* KERNEL */
#endif /* _SYSTEM_DOMAIN_H_ */