diff options
author | davidxu <davidxu@FreeBSD.org> | 2005-10-19 09:33:15 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2005-10-19 09:33:15 +0000 |
commit | 22847b1b84ee37198dce444c364efdc4017f93f2 (patch) | |
tree | 036cdfcf1ba68aa55faeb2e597c99ecd31f4399e /sys/compat/svr4/svr4_siginfo.h | |
parent | 899db1aa120cba0596ce1edee9f8c6e0caeb9357 (diff) | |
download | FreeBSD-src-22847b1b84ee37198dce444c364efdc4017f93f2.zip FreeBSD-src-22847b1b84ee37198dce444c364efdc4017f93f2.tar.gz |
Fix compiling problem by adding prefix name svr4 to si_xxx macro, the
si_xxx macro should not be used in compat headers, as these are standard
member names or only can be used in our native header file signal.h.
Diffstat (limited to 'sys/compat/svr4/svr4_siginfo.h')
-rw-r--r-- | sys/compat/svr4/svr4_siginfo.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/compat/svr4/svr4_siginfo.h b/sys/compat/svr4/svr4_siginfo.h index 4f2eaf4..35e653b 100644 --- a/sys/compat/svr4/svr4_siginfo.h +++ b/sys/compat/svr4/svr4_siginfo.h @@ -96,16 +96,16 @@ typedef union svr4_siginfo { } _info; } svr4_siginfo_t; -#define si_signo _info._signo -#define si_code _info._code -#define si_errno _info._errno +#define svr4_si_signo _info._signo +#define svr4_si_code _info._code +#define svr4_si_errno _info._errno -#define si_pid _info._reason._child._pid -#define si_stime _info._reason._child._stime -#define si_status _info._reason._child._status -#define si_utime _info._reason._child._utime +#define svr4_si_pid _info._reason._child._pid +#define svr4_si_stime _info._reason._child._stime +#define svr4_si_status _info._reason._child._status +#define svr4_si_utime _info._reason._child._utime -#define si_addr _info._reason._fault._addr -#define si_trap _info._reason._fault._trap +#define svr4_si_addr _info._reason._fault._addr +#define svr4_si_trap _info._reason._fault._trap #endif /* !_SVR4_SIGINFO_H_ */ |