X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/c147819e08bff3bae6a11ef8f73a74124a09e1e4..6b5bab0e157b8e4ebfb1f14914c3993649374fd8:/usr/src/include/kvm.h diff --git a/usr/src/include/kvm.h b/usr/src/include/kvm.h index 5834206bf5..08930ab281 100644 --- a/usr/src/include/kvm.h +++ b/usr/src/include/kvm.h @@ -4,29 +4,19 @@ * * %sccs.include.redist.c% * - * @(#)kvm.h 1.1 (Berkeley) %G% + * @(#)kvm.h 5.2 (Berkeley) %G% */ -#include +#include -/* - * type byte prepending key - */ -#define KVMDB_NLIST 1 -#define KVMDB_DEVS 2 - -#define KVMDBDIR "/var/run" +/* Default version symbol. */ +#define VRS_SYM "_version" +#define VRS_KEY "VERSION" -#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 +char *kvm_getargs __P((const struct proc *, const struct user *)); +struct eproc *kvm_geteproc __P((const struct proc *)); +char *kvm_geterr __P((void)); +struct user *kvm_getu __P((const struct proc *)); +struct proc *kvm_nextproc __P((void)); +__END_DECLS