diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
commit | 6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch) | |
tree | ee423c619fad03813234b9362694a17f3a638f0b /include/kvm.h | |
parent | c707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff) |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'include/kvm.h')
-rw-r--r-- | include/kvm.h | 32 |
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 |