summaryrefslogtreecommitdiff
path: root/include/kvm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/kvm.h')
-rw-r--r--include/kvm.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/include/kvm.h b/include/kvm.h
index c51d34de174..9ecc806fcd7 100644
--- a/include/kvm.h
+++ b/include/kvm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm.h,v 1.3 1997/09/21 10:45:37 niklas Exp $ */
+/* $OpenBSD: kvm.h,v 1.4 2002/02/16 21:27:17 millert Exp $ */
/* $NetBSD: kvm.h,v 1.7 1996/04/19 12:02:50 leo Exp $ */
/*-
@@ -52,24 +52,24 @@ __BEGIN_DECLS
typedef struct __kvm kvm_t;
struct kinfo_proc;
-int kvm_close __P((kvm_t *));
-int kvm_dump_inval __P((kvm_t *));
-int kvm_dump_mkheader __P((kvm_t *, off_t));
-int kvm_dump_wrtheader __P((kvm_t *, FILE *, int));
-char **kvm_getargv __P((kvm_t *, const struct kinfo_proc *, int));
-char **kvm_getenvv __P((kvm_t *, const struct kinfo_proc *, int));
-char *kvm_geterr __P((kvm_t *));
-int kvm_getloadavg __P((kvm_t *, double [], int));
-char *kvm_getfiles __P((kvm_t *, int, int, int *));
+int kvm_close(kvm_t *);
+int kvm_dump_inval(kvm_t *);
+int kvm_dump_mkheader(kvm_t *, off_t);
+int kvm_dump_wrtheader(kvm_t *, FILE *, int);
+char **kvm_getargv(kvm_t *, const struct kinfo_proc *, int);
+char **kvm_getenvv(kvm_t *, const struct kinfo_proc *, int);
+char *kvm_geterr(kvm_t *);
+int kvm_getloadavg(kvm_t *, double [], int);
+char *kvm_getfiles(kvm_t *, int, int, int *);
struct kinfo_proc *
- kvm_getprocs __P((kvm_t *, int, int, int *));
-int kvm_nlist __P((kvm_t *, struct nlist *));
+ kvm_getprocs(kvm_t *, int, int, int *);
+int kvm_nlist(kvm_t *, struct nlist *);
kvm_t *kvm_open
- __P((const char *, const char *, const char *, int, const char *));
+(const char *, const char *, const char *, int, const char *);
kvm_t *kvm_openfiles
- __P((const char *, const char *, const char *, int, char *));
-ssize_t kvm_read __P((kvm_t *, u_long, void *, size_t));
-ssize_t kvm_write __P((kvm_t *, u_long, const void *, size_t));
+(const char *, const char *, const char *, int, char *);
+ssize_t kvm_read(kvm_t *, u_long, void *, size_t);
+ssize_t kvm_write(kvm_t *, u_long, const void *, size_t);
__END_DECLS