summaryrefslogtreecommitdiff
path: root/lib/clzsi2.c
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-06-02 20:02:42 +0000
committerEd Schouten <ed@FreeBSD.org>2011-06-02 20:02:42 +0000
commitb0a04aaa595ba76468e521f12727a872d144d6d0 (patch)
tree51db692a6c937b68c7180d996af6bb7952b4b55d /lib/clzsi2.c
parentf170b6928b38a264ce005e5fa80d428364b6f659 (diff)
Notes
Diffstat (limited to 'lib/clzsi2.c')
-rw-r--r--lib/clzsi2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/clzsi2.c b/lib/clzsi2.c
index d99047dec485..d0a6aeabcb32 100644
--- a/lib/clzsi2.c
+++ b/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;