aboutsummaryrefslogtreecommitdiff
path: root/src/graph/view3D/stuff3d.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph/view3D/stuff3d.c')
-rw-r--r--src/graph/view3D/stuff3d.c27
1 files changed, 2 insertions, 25 deletions
diff --git a/src/graph/view3D/stuff3d.c b/src/graph/view3D/stuff3d.c
index 5b828ed5..9c3041da 100644
--- a/src/graph/view3D/stuff3d.c
+++ b/src/graph/view3D/stuff3d.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1991-2002, The Numerical ALgorithms Group Ltd.
+ Copyright (C) 1991-2002, The Numerical Algorithms Group Ltd.
All rights reserved.
Copyright (C) 2007-2008, Gabriel Dos Reis.
All rights reserved.
@@ -16,7 +16,7 @@
the documentation and/or other materials provided with the
distribution.
- - Neither the name of The Numerical ALgorithms Group Ltd. nor the
+ - Neither the name of The Numerical Algorithms Group Ltd. nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
@@ -56,12 +56,7 @@
*****************************/
viewTriple *
-#ifdef _NO_PROTO
-traverse (n)
- int n;
-#else
traverse (int n)
-#endif
{
int i;
@@ -79,12 +74,7 @@ traverse (int n)
/**************************/
float
-#ifdef _NO_PROTO
-absolute (x)
- float x;
-#else
absolute (float x)
-#endif
{
if (x<0.0) return(-x);
@@ -100,11 +90,7 @@ absolute (float x)
/****************************/
float
-#ifdef _NO_PROTO
-get_random()
-#else
get_random(void)
-#endif
{
float x;
@@ -122,11 +108,7 @@ get_random(void)
/****************************/
triple
-#ifdef _NO_PROTO
-norm_dist()
-#else
norm_dist(void)
-#endif
{
float u1, u2, v1, v2, ss, rad;
@@ -154,12 +136,7 @@ norm_dist(void)
/************************/
void
-#ifdef _NO_PROTO
-goodbye(sig)
-int sig;
-#else
goodbye(int sig)
-#endif
{
int Command;