summaryrefslogtreecommitdiff
path: root/gs/base/ttcalc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gs/base/ttcalc.c')
-rw-r--r--gs/base/ttcalc.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/gs/base/ttcalc.c b/gs/base/ttcalc.c
index efee474e8..5fd9eafd9 100644
--- a/gs/base/ttcalc.c
+++ b/gs/base/ttcalc.c
@@ -1,6 +1,6 @@
/* Copyright (C) 2001-2006 Artifex Software, Inc.
All Rights Reserved.
-
+
This software is provided AS-IS with no warranty, either express or
implied.
@@ -26,7 +26,7 @@
*
* This file is part of the FreeType project, and may only be used
* modified and distributed under the terms of the FreeType project
- * license, LICENSE.TXT. By continuing to use, modify, or distribute
+ * license, LICENSE.TXT. By continuing to use, modify, or distribute
* this file you indicate that you have read the license and
* understand and accept it fully.
*
@@ -56,7 +56,6 @@
2147483647
};
-
#ifdef LONG64
Int32 MulDiv( Int32 a, Int32 b, Int32 c )
@@ -71,7 +70,6 @@
return ((s < 0) ? -a : a);
}
-
Int32 MulDiv_Round( Int32 a, Int32 b, Int32 c )
{
int s;
@@ -84,7 +82,6 @@
return ((s < 0) ? -a : a);
}
-
static Int Order64( Int64 z )
{
int j = 0;
@@ -96,7 +93,6 @@
return j - 1;
}
-
Int32 Sqrt64( Int64 l )
{
Int64 r, s;
@@ -133,7 +129,6 @@
return ((s < 0) ? -a : a);
}
-
Int32 MulDiv_Round( Int32 a, Int32 b, Int32 c )
{
Int64 temp, temp2;
@@ -152,7 +147,6 @@
return ((s < 0) ? -a : a);
}
-
static void Neg64__( Int64* x )
{
/* Remember that -(0x80000000) == 0x80000000 with 2-complement! */
@@ -173,7 +167,6 @@
}
}
-
void Add64( Int64* x, Int64* y, Int64* z )
{
register Word32 lo, hi;
@@ -188,7 +181,6 @@
z->hi = hi;
}
-
void Sub64( Int64* x, Int64* y, Int64* z )
{
register Word32 lo, hi;
@@ -202,7 +194,6 @@
z->hi = hi;
}
-
void MulTo64( Int32 x, Int32 y, Int64* z )
{
Int32 s;
@@ -245,7 +236,6 @@
if (s < 0) Neg64__( z );
}
-
Int32 Div64by32( Int64* x, Int32 y )
{
Int32 s;
@@ -286,7 +276,6 @@
return ( (s<0) ? -q : q );
}
-
Int Order64( Int64* z )
{
Word32 i;
@@ -311,7 +300,6 @@
return j-1;
}
-
Int32 Sqrt64( Int64* l )
{
Int64 l2;
@@ -353,7 +341,6 @@
return j - 1;
}
-
Int32 Sqrt32( Int32 l )
{
Int32 r, s;