summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/clzsi2.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/clzsi2.c')
-rw-r--r--compiler-rt/lib/clzsi2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler-rt/lib/clzsi2.c b/compiler-rt/lib/clzsi2.c
index d99047dec48..d0a6aeabcb3 100644
--- a/compiler-rt/lib/clzsi2.c
+++ b/compiler-rt/lib/clzsi2.c
@@ -1,6 +1,6 @@
/* ===-- clzsi2.c - Implement __clzsi2 -------------------------------------===
*
- * The LLVM Compiler Infrastructure
+ * The LLVM Compiler Infrastructure
*
* This file is dual licensed under the MIT and the University of Illinois Open
* Source Licenses. See LICENSE.TXT for details.
@@ -11,6 +11,7 @@
*
* ===----------------------------------------------------------------------===
*/
+#include "abi.h"
#include "int_lib.h"
@@ -18,7 +19,7 @@
/* Precondition: a != 0 */
-si_int
+COMPILER_RT_ABI si_int
__clzsi2(si_int a)
{
su_int x = (su_int)a;
OpenPOWER on IntegriCloud