diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-30 23:53:39 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-30 23:57:49 +0100 |
commit | 1451665d5b2e1c375af55aad70849bf5642bfa60 (patch) | |
tree | 2c99a3f17acd11ae592aebf0d89059fa88c98ba8 /proc/pgrp.c | |
parent | 49f29d3e376880b9670a864c81426e5d7ae863df (diff) | |
download | hurd-1451665d5b2e1c375af55aad70849bf5642bfa60.tar.gz hurd-1451665d5b2e1c375af55aad70849bf5642bfa60.tar.bz2 hurd-1451665d5b2e1c375af55aad70849bf5642bfa60.zip |
hurd_types: Add const_string_t type
This will allow to relieve constraints in callers, e.g. dir_lookup("") would
otherwise produce a warning with gcc-11 since char[1024] would mean that
dir_lookup would read all 1024 characters while it is not.
* hurd/hurd_types.h (const_string_t): New type.
Diffstat (limited to 'proc/pgrp.c')
0 files changed, 0 insertions, 0 deletions