summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2001-09-30 18:52:17 +0000
committerjake <jake@FreeBSD.org>2001-09-30 18:52:17 +0000
commitf6a5e3f81047490e77b5203fda102de3e04ed68a (patch)
treea2d8a453ce096229c5ed4253ff4fabe267040d72
parent539ccfaeb2e7bc2528068dc5493a4e7b30a9908e (diff)
downloadFreeBSD-src-f6a5e3f81047490e77b5203fda102de3e04ed68a.zip
FreeBSD-src-f6a5e3f81047490e77b5203fda102de3e04ed68a.tar.gz
Don't use types that require other headers.
-rw-r--r--sys/sparc64/include/signal.h2
-rw-r--r--sys/sparc64/include/ucontext.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/sparc64/include/signal.h b/sys/sparc64/include/signal.h
index 63d7d75..b13db13 100644
--- a/sys/sparc64/include/signal.h
+++ b/sys/sparc64/include/signal.h
@@ -44,7 +44,7 @@ typedef long sig_atomic_t;
#define MINSIGSTKSZ (1024 * 4)
-typedef u_int osigset_t;
+typedef int osigset_t;
struct osigcontext {
};
diff --git a/sys/sparc64/include/ucontext.h b/sys/sparc64/include/ucontext.h
index efdca33..e4382bc 100644
--- a/sys/sparc64/include/ucontext.h
+++ b/sys/sparc64/include/ucontext.h
@@ -33,8 +33,8 @@
#define _MACHINE_UCONTEXT_H_
typedef struct __mcontext {
- u_long mc_global[8];
- u_long mc_out[8];
+ long mc_global[8];
+ long mc_out[8];
long mc_onstack;
long mc_sp;
long mc_tpc;
OpenPOWER on IntegriCloud