diff options
author | davidxu <davidxu@FreeBSD.org> | 2004-07-15 03:52:17 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2004-07-15 03:52:17 +0000 |
commit | 3bb346143c6b1767730fa93779a0991ec0fef0b1 (patch) | |
tree | 4b0313437d8b9f21edf13ab860cd4158a1e82595 /sys | |
parent | d81ea8a275a4bb64f0080e0e7a7d8a7517528afd (diff) | |
download | FreeBSD-src-3bb346143c6b1767730fa93779a0991ec0fef0b1.zip FreeBSD-src-3bb346143c6b1767730fa93779a0991ec0fef0b1.tar.gz |
type prgregset_t really should be an array. this is odd, however, other
systems defined interfaces in thread_db.h use prgregset_t but not
prgregset_t * to be a output parameter, this is the only way to maintain
source code compatible with them.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/procfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/procfs.h b/sys/sys/procfs.h index 1b861df..b03e73d 100644 --- a/sys/sys/procfs.h +++ b/sys/sys/procfs.h @@ -65,7 +65,7 @@ typedef struct prstatus { gregset_t pr_reg; /* General purpose registers (1) */ } prstatus_t; -typedef gregset_t prgregset_t; +typedef gregset_t prgregset_t[1]; typedef fpregset_t prfpregset_t; #define PRFNAMESZ 16 /* Maximum command length saved */ |