aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2018-01-11 13:05:43 +0000
committerMasahiro Yamada <[email protected]>2018-01-18 00:37:38 +0000
commitccfe78873c22561d3c514790094dc408e4876077 (patch)
treeeb3d49fb9fd8107c9e82d34a7c9f3e82a084b526 /scripts/gcc-plugins/randomize_layout_plugin.c
parentfixdep: factor out common code for reading files (diff)
downloadkernel-ccfe78873c22561d3c514790094dc408e4876077.tar.gz
kernel-ccfe78873c22561d3c514790094dc408e4876077.zip
fixdep: remove unneeded memcpy() in parse_dep_file()
Each token in the depfile is copied to the temporary buffer 's' to terminate the token with zero. We do not need to do this any more because the parsed buffer is now writable. Insert '\0' directly in the buffer without calling memcpy(). <limits.h> is no longer necessary. (It was needed for PATH_MAX). Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions