aboutsummaryrefslogtreecommitdiff
path: root/src/graph/viewAlone
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-04-05 21:06:47 +0000
committerdos-reis <gdr@axiomatics.org>2008-04-05 21:06:47 +0000
commit73bb103e111fb12bed013b2b3728d592c1a11587 (patch)
tree1a538a0253a133db5bed07f8dc85f6c5ad05b568 /src/graph/viewAlone
parentf165b636e6f5041cade0955284503864b07b9f63 (diff)
downloadopen-axiom-73bb103e111fb12bed013b2b3728d592c1a11587.tar.gz
Remove remaining K&R style prototypes.
Diffstat (limited to 'src/graph/viewAlone')
-rw-r--r--src/graph/viewAlone/spoon2D.c19
-rw-r--r--src/graph/viewAlone/spoonComp.c14
-rw-r--r--src/graph/viewAlone/viewAlone.c10
3 files changed, 6 insertions, 37 deletions
diff --git a/src/graph/viewAlone/spoon2D.c b/src/graph/viewAlone/spoon2D.c
index 054ed5a3..45353ffc 100644
--- a/src/graph/viewAlone/spoon2D.c
+++ b/src/graph/viewAlone/spoon2D.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.
@@ -51,11 +51,7 @@
/* #define spoonDEBUG */
void
-#ifdef _NO_PROTO
-spoonView2D()
-#else
spoonView2D(void)
-#endif
{
int i,code,pipe0[2],pipe1[2],there;
@@ -148,13 +144,7 @@ spoonView2D(void)
/*void sendGraphToView2D(i,there,viewP) */
void
-#ifdef _NO_PROTO
-sendGraphToView2D(i,there,viewP)
- int i,there;
- viewManager *viewP;
-#else
sendGraphToView2D(int i,int there,viewManager *viewP)
-#endif
{
graphStruct *gPtr;
pointListStruct *llPtr;
@@ -216,12 +206,7 @@ sendGraphToView2D(int i,int there,viewManager *viewP)
void
-#ifdef _NO_PROTO
-makeView2DFromFileData(doView2D)
- view2DStruct *doView2D;
-#else
makeView2DFromFileData(view2DStruct *doView2D)
-#endif
{
int i,j,k;
diff --git a/src/graph/viewAlone/spoonComp.c b/src/graph/viewAlone/spoonComp.c
index 857c3d5c..c3b36f44 100644
--- a/src/graph/viewAlone/spoonComp.c
+++ b/src/graph/viewAlone/spoonComp.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.
@@ -53,12 +53,7 @@
changes there may require similar changes here. */
void
-#ifdef _NO_PROTO
-spoonView3D(type)
- int type;
-#else
spoonView3D(int type)
-#endif
{
int i,j,k,code,pipe0[2],pipe1[2];
@@ -169,12 +164,7 @@ spoonView3D(int type)
void
-#ifdef _NO_PROTO
-makeView3DFromFileData(type)
- int type;
-#else
makeView3DFromFileData(int type)
-#endif
{
int i,j,k;
diff --git a/src/graph/viewAlone/viewAlone.c b/src/graph/viewAlone/viewAlone.c
index 4d18ecc3..9df3b047 100644
--- a/src/graph/viewAlone/viewAlone.c
+++ b/src/graph/viewAlone/viewAlone.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.
@@ -71,13 +71,7 @@ char pathname[256];
/************* main program **************/
-#ifdef _NO_PROTO
-int main (argc,argv)
- int argc;
- char *argv[];
-#else
int main (int argc,char *argv[])
-#endif
{
printf("viewAlone called with argc=%d\n",argc);
printf("viewAlone called with argv[1]=%s\n",argv[0]);