summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/negdi2.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-05 04:02:56 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-05 04:02:56 +0000
commit4856eef437fd97876fa6b275060bc5666b3c1227 (patch)
treed2858c1bee9b505e898afd00e2550fbb29b5ec8e /compiler-rt/lib/negdi2.c
parent379429200e28892b1deaec0305f582b2d3903fbb (diff)
downloadbcm5719-llvm-4856eef437fd97876fa6b275060bc5666b3c1227.tar.gz
bcm5719-llvm-4856eef437fd97876fa6b275060bc5666b3c1227.zip
Fixup C++ style comments are not allowed in ISO C90 to classic C style.
llvm-svn: 78152
Diffstat (limited to 'compiler-rt/lib/negdi2.c')
-rw-r--r--compiler-rt/lib/negdi2.c32
1 files changed, 17 insertions, 15 deletions
diff --git a/compiler-rt/lib/negdi2.c b/compiler-rt/lib/negdi2.c
index 2d5cd630159..707b0dd7825 100644
--- a/compiler-rt/lib/negdi2.c
+++ b/compiler-rt/lib/negdi2.c
@@ -1,24 +1,26 @@
-//===-- negdi2.c - Implement __negdi2 -------------------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file implements __negdi2 for the compiler_rt library.
-//
-//===----------------------------------------------------------------------===//
+/* ===-- negdi2.c - Implement __negdi2 -------------------------------------===
+ *
+ * The LLVM Compiler Infrastructure
+ *
+ * This file is distributed under the University of Illinois Open Source
+ * License. See LICENSE.TXT for details.
+ *
+ * ===----------------------------------------------------------------------===
+ *
+ * This file implements __negdi2 for the compiler_rt library.
+ *
+ * ===----------------------------------------------------------------------===
+ */
#include "int_lib.h"
-// Returns: -a
+/* Returns: -a */
di_int
__negdi2(di_int a)
{
- // Note: this routine is here for API compatibility; any sane compiler
- // should expand it inline.
+ /* Note: this routine is here for API compatibility; any sane compiler
+ * should expand it inline.
+ */
return -a;
}
OpenPOWER on IntegriCloud