summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2019-09-12 12:34:27 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2019-09-12 12:34:27 +0000
commit2fc6ffc451c9af16e03eff51e779c33828e9ab07 (patch)
treec6cd9cb12c788b331e21f6964d34a19bd79ef4f0 /include
parent4210af0f3510bd395e3e2530320a44a2446d8da5 (diff)
parentf906a44e9ea9ccefaab2a9d40bb2cb3f354609c8 (diff)
Merge "libc: fix sparse warning for __assert()" into integration
Diffstat (limited to 'include')
-rw-r--r--include/lib/libc/assert.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/lib/libc/assert.h b/include/lib/libc/assert.h
index d04f9dc0..486bbc29 100644
--- a/include/lib/libc/assert.h
+++ b/include/lib/libc/assert.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -30,12 +30,12 @@
#endif /* ENABLE_ASSERTIONS */
#if PLAT_LOG_LEVEL_ASSERT >= LOG_LEVEL_VERBOSE
-__dead2 void __assert(const char *file, unsigned int line,
+void __dead2 __assert(const char *file, unsigned int line,
const char *assertion);
#elif PLAT_LOG_LEVEL_ASSERT >= LOG_LEVEL_INFO
-__dead2 void __assert(const char *file, unsigned int line);
+void __dead2 __assert(const char *file, unsigned int line);
#else
-__dead2 void __assert(void);
+void __dead2 __assert(void);
#endif
#endif /* ASSERT_H */