summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/absvdi2.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-07 20:30:09 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-07 20:30:09 +0000
commit5583632adfc69f3fc056cacdeeb5192a1acba042 (patch)
tree9ab45422927f7142d2600dccdd4568a517d08a77 /compiler-rt/lib/absvdi2.c
parent40134e71bee0d7a233925b8ed67954ccc5ede6cf (diff)
downloadbcm5719-llvm-5583632adfc69f3fc056cacdeeb5192a1acba042.tar.gz
bcm5719-llvm-5583632adfc69f3fc056cacdeeb5192a1acba042.zip
Code style and Readability fixes. Credit to Craig van Vliet.
llvm-svn: 78403
Diffstat (limited to 'compiler-rt/lib/absvdi2.c')
-rw-r--r--compiler-rt/lib/absvdi2.c29
1 files changed, 15 insertions, 14 deletions
diff --git a/compiler-rt/lib/absvdi2.c b/compiler-rt/lib/absvdi2.c
index b49554ecc7d..396802c5c2c 100644
--- a/compiler-rt/lib/absvdi2.c
+++ b/compiler-rt/lib/absvdi2.c
@@ -1,22 +1,23 @@
-//===-- absvdi2.c - Implement __absvdi2 -----------------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file implements __absvdi2 for the compiler_rt library.
-//
-//===----------------------------------------------------------------------===//
+/*===-- absvdi2.c - Implement __absvdi2 -----------------------------------===
+ *
+ * The LLVM Compiler Infrastructure
+ *
+ * This file is distributed under the University of Illinois Open Source
+ * License. See LICENSE.TXT for details.
+ *
+ *===----------------------------------------------------------------------===
+ *
+ * This file implements __absvdi2 for the compiler_rt library.
+ *
+ *===----------------------------------------------------------------------===
+ */
#include "int_lib.h"
#include <stdlib.h>
-// Returns: absolute value
+/* Returns: absolute value */
-// Effects: aborts if abs(x) < 0
+/* Effects: aborts if abs(x) < 0 */
di_int
__absvdi2(di_int a)
OpenPOWER on IntegriCloud