summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/stdio_dev.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/stdio_dev.h b/include/stdio_dev.h
index 932d093345..6ed1f12b87 100644
--- a/include/stdio_dev.h
+++ b/include/stdio_dev.h
@@ -35,11 +35,13 @@
#define DEV_FLAGS_SYSTEM 0x80000000 /* Device is a system device */
#define DEV_EXT_VIDEO 0x00000001 /* Video extensions supported */
+#define STDIO_NAME_SIZE 16
+
/* Device information */
struct stdio_dev {
int flags; /* Device flags: input/output/system */
int ext; /* Supported extensions */
- char name[16]; /* Device name */
+ char name[STDIO_NAME_SIZE]; /* Device name */
/* GENERAL functions */