Commit 66693916 authored by Sean McBride's avatar Sean McBride
Browse files

Removed unused function, make private functions static

Change-Id: Icbf4aeee6c350af31be3cf7d2a851dc61601e127
parent 06d79144
......@@ -23,35 +23,16 @@
const unsigned int BIT_INCREMENT = 32;
int maximum(int a, int b)
static int maximum(int a, int b)
{
return a > b ? a : b;
}
int minimum(int a, int b)
static int minimum(int a, int b)
{
return a < b ? a : b;
}
long vtkpow(long a, long b)
{
long a1 = a;
long b1 = b;
long c = 1;
while (b1 >= 1)
{
while ( ( b & 1 ) == 0)
{
b1 = b1 / 2;
a1 = a1 * a1;
}
b1 = b1 - 1;
c = c * a1;
}
return c;
}
void vtkLargeInteger::Contract()
{
while (this->Number[this->Sig] == 0 && this->Sig > 0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment