summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/sys/dmap.h2
-rw-r--r--sys/sys/types.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/dmap.h b/sys/sys/dmap.h
index 48a44df0df1a..d9da387071f4 100644
--- a/sys/sys/dmap.h
+++ b/sys/sys/dmap.h
@@ -37,6 +37,8 @@
#ifndef _SYS_DMAP_H_
#define _SYS_DMAP_H_
+typedef int32_t swblk_t; /* swap offset */
+
/*
* Definitions for the mapping of vitual swap space to the physical swap
* area - the disk map.
diff --git a/sys/sys/types.h b/sys/sys/types.h
index 0a08889bdedf..e4a5a0b28e51 100644
--- a/sys/sys/types.h
+++ b/sys/sys/types.h
@@ -150,7 +150,6 @@ typedef __pid_t pid_t; /* process id */
typedef __register_t register_t;
typedef __int64_t rlim_t; /* resource limit (XXX not unsigned) */
typedef __segsz_t segsz_t; /* segment size (in pages) */
-typedef __int32_t swblk_t; /* swap offset */
typedef __u_register_t u_register_t;
#ifndef _UID_T_DECLARED