aboutsummaryrefslogtreecommitdiffhomepage
path: root/build_tools
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools')
-rw-r--r--build_tools/iwyu.linux.imp2
-rwxr-xr-xbuild_tools/style.fish2
2 files changed, 3 insertions, 1 deletions
diff --git a/build_tools/iwyu.linux.imp b/build_tools/iwyu.linux.imp
index 6fc614ae..27700b67 100644
--- a/build_tools/iwyu.linux.imp
+++ b/build_tools/iwyu.linux.imp
@@ -14,4 +14,6 @@
{ symbol: ["size_t", "private", "<stddef.h>", "public"] },
{ symbol: ["size_t", "private", "<stdlib.h>", "public"] },
{ symbol: ["uint64_t", "private", "<sys/types.h>", "public"] },
+ { symbol: ["memset", "private", "<string.h>", "public"] },
+ { symbol: ["strerror", "private", "<string.h>", "public"] },
]
diff --git a/build_tools/style.fish b/build_tools/style.fish
index 62d8d5c7..fc9a96e3 100755
--- a/build_tools/style.fish
+++ b/build_tools/style.fish
@@ -39,7 +39,7 @@ else
set git_clang_format yes
else
# No pending changes so lint the files in the most recent commit.
- set files (git show --name-only --pretty=oneline head | tail --lines=+2)
+ set files (git show --name-only --pretty=oneline | tail --lines=+2)
end
# Extract just the C/C++ files.