summaryrefslogtreecommitdiff
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-01-11 22:05:43 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-01-18 09:37:38 +0900
commitccfe78873c22561d3c514790094dc408e4876077 (patch)
treeeb3d49fb9fd8107c9e82d34a7c9f3e82a084b526 /kernel/exit.c
parent4003fd80cba967e4044ebac96f13746153e87c4d (diff)
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 <yamada.masahiro@socionext.com>
Diffstat (limited to 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions