aboutsummaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-10-29 18:03:11 -0400
committerIan Moffett <ian@osmora.org>2024-10-29 18:03:11 -0400
commit5084a0676cd9b33927b2dac3a8fa9a42bfb6e2cc (patch)
tree3845913c896019a2e54f9d4af616f3096fa8af06 /sys/include
parent830a4b24786a5efd72571cf32049b4b02cbb88a1 (diff)
kernel: types: Move dev_t to sys/types.h
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/device.h1
-rw-r--r--sys/include/sys/types.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/sys/include/sys/device.h b/sys/include/sys/device.h
index b1de7d3..c159e7d 100644
--- a/sys/include/sys/device.h
+++ b/sys/include/sys/device.h
@@ -38,7 +38,6 @@
#include <sys/sio.h>
typedef uint8_t devmajor_t;
-typedef uint8_t dev_t;
/* Device operation typedefs */
typedef int(*dev_read_t)(dev_t, struct sio_txn *, int);
diff --git a/sys/include/sys/types.h b/sys/include/sys/types.h
index 3d565e5..fc25fa4 100644
--- a/sys/include/sys/types.h
+++ b/sys/include/sys/types.h
@@ -59,6 +59,7 @@ typedef size_t uintptr_t;
typedef size_t off_t;
typedef _Bool bool;
typedef int pid_t;
+typedef int dev_t;
typedef uint32_t mode_t;
#if defined(_KERNEL)