aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-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)