summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/addvti3.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-05 19:06:50 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-05 19:06:50 +0000
commitdabf71f171aa98106cfbb16b1b4655d29cf9372b (patch)
tree35c0a04c257669970a48f843fc0c27822a7ab025 /compiler-rt/lib/addvti3.c
parent22ef75155e3f05e3c703133a634117ff2d7a9157 (diff)
downloadbcm5719-llvm-dabf71f171aa98106cfbb16b1b4655d29cf9372b.tar.gz
bcm5719-llvm-dabf71f171aa98106cfbb16b1b4655d29cf9372b.zip
Next batch of C++ to C comment style changes. Also improve and factor out endianness pre-processor code.
llvm-svn: 78226
Diffstat (limited to 'compiler-rt/lib/addvti3.c')
-rw-r--r--compiler-rt/lib/addvti3.c29
1 files changed, 15 insertions, 14 deletions
diff --git a/compiler-rt/lib/addvti3.c b/compiler-rt/lib/addvti3.c
index 5c87d3e8c1a..afc3e3b9057 100644
--- a/compiler-rt/lib/addvti3.c
+++ b/compiler-rt/lib/addvti3.c
@@ -1,24 +1,25 @@
-//===-- addvti3.c - Implement __addvti3 -----------------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file implements __addvti3 for the compiler_rt library.
-//
-//===----------------------------------------------------------------------===//
+/* ===-- addvti3.c - Implement __addvti3 -----------------------------------===
+ *
+ * The LLVM Compiler Infrastructure
+ *
+ * This file is distributed under the University of Illinois Open Source
+ * License. See LICENSE.TXT for details.
+ *
+ * ===----------------------------------------------------------------------===
+ *
+ * This file implements __addvti3 for the compiler_rt library.
+ *
+ * ===----------------------------------------------------------------------===
+ */
#if __x86_64
#include "int_lib.h"
#include <stdlib.h>
-// Returns: a + b
+/* Returns: a + b */
-// Effects: aborts if a + b overflows
+/* Effects: aborts if a + b overflows */
ti_int
__addvti3(ti_int a, ti_int b)
OpenPOWER on IntegriCloud