diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-16 11:49:51 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-16 11:49:51 +0100 |
commit | 354656b9d9723aa17a324ef16fc95922f38a60cd (patch) | |
tree | d03f2607a7d00a2864131593657788819f668672 /include | |
parent | 63ed32b135317b7884c3feaa5b5e873aa15b7f07 (diff) | |
download | gnumach-354656b9d9723aa17a324ef16fc95922f38a60cd.tar.gz gnumach-354656b9d9723aa17a324ef16fc95922f38a60cd.tar.bz2 gnumach-354656b9d9723aa17a324ef16fc95922f38a60cd.zip |
device_types: Add const_dev_name_t
This will avoid forcing the caller to respect the definite string size.
Diffstat (limited to 'include')
-rw-r--r-- | include/device/device_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/device/device_types.h b/include/device/device_types.h index a6db051e..63ec26bd 100644 --- a/include/device/device_types.h +++ b/include/device/device_types.h @@ -54,6 +54,7 @@ typedef mach_port_t device_t; * Device name string */ typedef char dev_name_t[128]; /* must match device_types.defs */ +typedef const char *const_dev_name_t; /* * Mode for open/read/write |