summaryrefslogtreecommitdiff
path: root/lib/builtins/negvti2.c
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2014-03-01 15:30:50 +0000
committerJoerg Sonnenberger <joerg@bec.de>2014-03-01 15:30:50 +0000
commitbfbb8bbc8e4a4fce3538aa85b095543fee291df7 (patch)
tree66760b0732edf7228f5920aa69b9a105d7913afe /lib/builtins/negvti2.c
parent8467eeb64062221a2b8d36629f907d072336d989 (diff)
downloadcompiler-rt-bfbb8bbc8e4a4fce3538aa85b095543fee291df7.tar.gz
Consistently use COMPILER_RT_ABI for all public symbols.
Move prototypes into headers and fix a few inconsistencies. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202591 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/builtins/negvti2.c')
-rw-r--r--lib/builtins/negvti2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/builtins/negvti2.c b/lib/builtins/negvti2.c
index d15167f53..85f9f7d19 100644
--- a/lib/builtins/negvti2.c
+++ b/lib/builtins/negvti2.c
@@ -20,7 +20,7 @@
/* Effects: aborts if -a overflows */
-ti_int
+COMPILER_RT_ABI ti_int
__negvti2(ti_int a)
{
const ti_int MIN = (ti_int)1 << ((int)(sizeof(ti_int) * CHAR_BIT)-1);