From 8d63667765fa637bda4dfabdb284fcf8abc7f023 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Sat, 9 Feb 1991 02:17:08 -0800 Subject: [PATCH] ANSI style declarations SCCS-vsn: include/kvm.h 5.1 --- usr/src/include/kvm.h | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/usr/src/include/kvm.h b/usr/src/include/kvm.h index 5834206bf5..b996ec7605 100644 --- a/usr/src/include/kvm.h +++ b/usr/src/include/kvm.h @@ -4,10 +4,11 @@ * * %sccs.include.redist.c% * - * @(#)kvm.h 1.1 (Berkeley) %G% + * @(#)kvm.h 5.1 (Berkeley) %G% */ #include +#include /* * type byte prepending key @@ -17,16 +18,10 @@ #define KVMDBDIR "/var/run" -#if __STDC__ || c_plusplus -extern struct proc *kvm_nextproc(void); -extern struct eproc *kvm_geteproc(const struct proc *); -extern struct user *kvm_getu(const struct proc *); -extern char *kvm_getargs(const struct proc *, const struct user *); -extern char *kvm_geterr(void); -#else -extern struct proc *kvm_nextproc(); -extern struct eproc *kvm_geteproc(); -extern struct user *kvm_getu(); -extern char *kvm_getargs(); -extern char *kvm_geterr(); -#endif +__BEGIN_DECLS +struct proc *kvm_nextproc __P((void)); +struct eproc *kvm_geteproc __P((const struct proc *)); +struct user *kvm_getu __P((const struct proc *)); +char *kvm_getargs __P((const struct proc *, const struct user *)); +char *kvm_geterr __P((void)); +__END_DECLS -- 2.20.1