diff options
author | Bruno Haible <bruno@clisp.org> | 2021-08-07 23:15:21 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2021-08-07 23:15:21 +0200 |
commit | d3c1eca926275d7138cdfd2eaebcf5de472fcdbf (patch) | |
tree | 63f5532a5d373f4422ed1fdc35027799a619aaab /modules/xgethostname | |
parent | 5f7e4b01f0c3198131ae8b796c23b01c6d326752 (diff) | |
download | gnulib-d3c1eca926275d7138cdfd2eaebcf5de472fcdbf.tar.gz |
xstrndup: Improve GCC 11 allocation-deallocation checking.
* lib/xstrndup.h: Include <stdlib.h> instead of <stddef.h>.
(xstrndup): Declare that deallocation must happen through 'free'.
Diffstat (limited to 'modules/xgethostname')
0 files changed, 0 insertions, 0 deletions