diff options
Diffstat (limited to 'include/kvm.h')
-rw-r--r-- | include/kvm.h | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/include/kvm.h b/include/kvm.h index 9e0d9212a444..fb2d22435fee 100644 --- a/include/kvm.h +++ b/include/kvm.h @@ -31,7 +31,6 @@ * SUCH DAMAGE. * * @(#)kvm.h 8.1 (Berkeley) 6/2/93 - * $Id$ */ #ifndef _KVM_H_ @@ -44,22 +43,11 @@ #include <nlist.h> #include <sys/cdefs.h> -#ifdef _BSD_SIZE_T_ -typedef _BSD_SIZE_T_ size_t; -#undef _BSD_SIZE_T_ -#endif - -#ifdef _BSD_SSIZE_T_ -typedef _BSD_SSIZE_T_ ssize_t; -#undef _BSD_SSIZE_T_ -#endif +__BEGIN_DECLS typedef struct __kvm kvm_t; struct kinfo_proc; -struct proc; - -__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)); @@ -74,9 +62,12 @@ kvm_t *kvm_open 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)); -ssize_t kvm_uread - __P((kvm_t *, const struct proc *, unsigned long, char *, size_t)); ssize_t kvm_write __P((kvm_t *, unsigned long, const void *, size_t)); +/* Comment this out until it can be fixed correctly. +ssize_t kvm_uread + __P((kvm_t *, struct proc *, unsigned long, char *, size_t)); +*/ + __END_DECLS #endif /* !_KVM_H_ */ |