From 2bf62728b8ce00e295c7bf0fb328427496cc85aa Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Wed, 5 Aug 2009 04:02:56 +0000 Subject: Fixup C++ style comments are not allowed in ISO C90 to classic C style. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78152 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/negdi2.c | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'lib/negdi2.c') diff --git a/lib/negdi2.c b/lib/negdi2.c index 2d5cd6301..707b0dd78 100644 --- a/lib/negdi2.c +++ b/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; } -- cgit v1.2.1