diff options
author | obrien <obrien@FreeBSD.org> | 2002-03-21 23:54:04 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-03-21 23:54:04 +0000 |
commit | fd9d7ac0ed3b0196f0165675edd10f4568d1ce88 (patch) | |
tree | 797ad825cd6005b210c12cc519012e2266372988 /lib/libkvm | |
parent | d0f7d014387d18db9910e1094a3d0696bfeccab6 (diff) | |
download | FreeBSD-src-fd9d7ac0ed3b0196f0165675edd10f4568d1ce88.zip FreeBSD-src-fd9d7ac0ed3b0196f0165675edd10f4568d1ce88.tar.gz |
Remove __P() usage.
Diffstat (limited to 'lib/libkvm')
-rw-r--r-- | lib/libkvm/kvm.c | 2 | ||||
-rw-r--r-- | lib/libkvm/kvm.h | 28 | ||||
-rw-r--r-- | lib/libkvm/kvm_private.h | 14 |
3 files changed, 22 insertions, 22 deletions
diff --git a/lib/libkvm/kvm.c b/lib/libkvm/kvm.c index 73652f3..dfc21e4 100644 --- a/lib/libkvm/kvm.c +++ b/lib/libkvm/kvm.c @@ -72,7 +72,7 @@ static char sccsid[] = "@(#)kvm.c 8.2 (Berkeley) 2/13/94"; #include "kvm_private.h" /* from src/lib/libc/gen/nlist.c */ -int __fdnlist __P((int, struct nlist *)); +int __fdnlist(int, struct nlist *); char * kvm_geterr(kd) diff --git a/lib/libkvm/kvm.h b/lib/libkvm/kvm.h index fedd327..9bf4975 100644 --- a/lib/libkvm/kvm.h +++ b/lib/libkvm/kvm.h @@ -73,24 +73,24 @@ struct kvm_swap { #define SWIF_DEV_PREFIX 0x0002 __BEGIN_DECLS -int kvm_close __P((kvm_t *)); -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 *)); -char *kvm_getfiles __P((kvm_t *, int, int, int *)); -int kvm_getloadavg __P((kvm_t *, double [], int)); +int kvm_close(kvm_t *); +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 *); +char *kvm_getfiles(kvm_t *, int, int, int *); +int kvm_getloadavg(kvm_t *, double [], int); struct kinfo_proc * - kvm_getprocs __P((kvm_t *, int, int, int *)); -int kvm_getswapinfo __P((kvm_t *, struct kvm_swap *, int, int)); -int kvm_nlist __P((kvm_t *, struct nlist *)); + kvm_getprocs(kvm_t *, int, int, int *); +int kvm_getswapinfo(kvm_t *, struct kvm_swap *, 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 *, unsigned long, void *, size_t)); +(const char *, const char *, const char *, int, char *); +ssize_t kvm_read(kvm_t *, unsigned long, void *, size_t); ssize_t kvm_uread - __P((kvm_t *, struct kinfo_proc *, unsigned long, char *, size_t)); -ssize_t kvm_write __P((kvm_t *, unsigned long, const void *, size_t)); +(kvm_t *, struct kinfo_proc *, unsigned long, char *, size_t); +ssize_t kvm_write(kvm_t *, unsigned long, const void *, size_t); __END_DECLS #endif /* !_KVM_H_ */ diff --git a/lib/libkvm/kvm_private.h b/lib/libkvm/kvm_private.h index 85d790f..b2fd4dd 100644 --- a/lib/libkvm/kvm_private.h +++ b/lib/libkvm/kvm_private.h @@ -71,12 +71,12 @@ struct __kvm { * Functions used internally by kvm, but across kvm modules. */ void _kvm_err __P((kvm_t *kd, const char *program, const char *fmt, ...)) __printflike(3, 4); -void _kvm_freeprocs __P((kvm_t *kd)); -void _kvm_freevtop __P((kvm_t *)); -int _kvm_initvtop __P((kvm_t *)); -int _kvm_kvatop __P((kvm_t *, u_long, u_long *)); -void *_kvm_malloc __P((kvm_t *kd, size_t)); -void *_kvm_realloc __P((kvm_t *kd, void *, size_t)); +void _kvm_freeprocs(kvm_t *kd); +void _kvm_freevtop(kvm_t *); +int _kvm_initvtop(kvm_t *); +int _kvm_kvatop(kvm_t *, u_long, u_long *); +void *_kvm_malloc(kvm_t *kd, size_t); +void *_kvm_realloc(kvm_t *kd, void *, size_t); void _kvm_syserr __P((kvm_t *kd, const char *program, const char *fmt, ...)) __printflike(3, 4); -int _kvm_uvatop __P((kvm_t *, const struct proc *, u_long, u_long *)); +int _kvm_uvatop(kvm_t *, const struct proc *, u_long, u_long *); |