summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/security-syntax-checks.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Analysis/security-syntax-checks.m')
-rw-r--r--clang/test/Analysis/security-syntax-checks.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/security-syntax-checks.m b/clang/test/Analysis/security-syntax-checks.m
index 68fc4b471a9..a3efd53d4b6 100644
--- a/clang/test/Analysis/security-syntax-checks.m
+++ b/clang/test/Analysis/security-syntax-checks.m
@@ -41,7 +41,7 @@ void test_float_condition() {
}
// Obsolete function bcmp
-int bcmp(void *, void *, size_t);
+int bcmp(const void *, const void *, size_t);
int test_bcmp(void *a, void *b, size_t n) {
return bcmp(a, b, n); // expected-warning{{The bcmp() function is obsoleted by memcmp()}}
OpenPOWER on IntegriCloud