diff options
author | dos-reis <gdr@axiomatics.org> | 2008-04-05 21:06:47 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-04-05 21:06:47 +0000 |
commit | 73bb103e111fb12bed013b2b3728d592c1a11587 (patch) | |
tree | 1a538a0253a133db5bed07f8dc85f6c5ad05b568 /src/graph/view3D/main3d.c | |
parent | f165b636e6f5041cade0955284503864b07b9f63 (diff) | |
download | open-axiom-73bb103e111fb12bed013b2b3728d592c1a11587.tar.gz |
Remove remaining K&R style prototypes.
Diffstat (limited to 'src/graph/view3D/main3d.c')
-rw-r--r-- | src/graph/view3D/main3d.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/graph/view3D/main3d.c b/src/graph/view3D/main3d.c index 7929199b..a3d2e3a0 100644 --- a/src/graph/view3D/main3d.c +++ b/src/graph/view3D/main3d.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. @@ -238,13 +238,7 @@ int smoothConst = 50; int -#ifdef _NO_PROTO -the_handler(display,event) - Display *display; - XErrorEvent *event; -#else the_handler(Display *display,XErrorEvent *event) -#endif { char buffer[512]; XGetErrorText(display,event->error_code,buffer,511); @@ -253,11 +247,7 @@ the_handler(Display *display,XErrorEvent *event) } int -#ifdef _NO_PROTO -main() -#else main(void) -#endif { XGCValues controlGCVals; @@ -604,11 +594,7 @@ main(void) void -#ifdef _NO_PROTO -mergeDatabases() -#else mergeDatabases(void) -#endif { XrmDatabase homeDB,serverDB,applicationDB; char filenamebuf[1024]; |