summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/cstring-plist.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Analysis/cstring-plist.c')
-rw-r--r--clang/test/Analysis/cstring-plist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/cstring-plist.c b/clang/test/Analysis/cstring-plist.c
index 65fa9fe74d1d..3851a5469376 100644
--- a/clang/test/Analysis/cstring-plist.c
+++ b/clang/test/Analysis/cstring-plist.c
@@ -14,7 +14,7 @@ char *strncpy(char *restrict s1, const char *restrict s2, size_t n);
-void cstringchecker_bounds_nocrash() {
+void cstringchecker_bounds_nocrash(void) {
char *p = malloc(2);
strncpy(p, "AAA", sizeof("AAA")); // we don't expect warning as the checker is disabled
free(p);