summaryrefslogtreecommitdiff
path: root/lib/subvdi3.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/subvdi3.c
parentf170b6928b38a264ce005e5fa80d428364b6f659 (diff)
Notes
Diffstat (limited to 'lib/subvdi3.c')
-rw-r--r--lib/subvdi3.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/subvdi3.c b/lib/subvdi3.c
index 17f55d00059e..36b51ad979ac 100644
--- a/lib/subvdi3.c
+++ b/lib/subvdi3.c
@@ -1,6 +1,6 @@
/* ===-- subvdi3.c - Implement __subvdi3 -----------------------------------===
*
- * 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"
#include <stdlib.h>
@@ -19,7 +20,7 @@
/* Effects: aborts if a - b overflows */
-di_int
+COMPILER_RT_ABI di_int
__subvdi3(di_int a, di_int b)
{
di_int s = a - b;