From 73bb103e111fb12bed013b2b3728d592c1a11587 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sat, 5 Apr 2008 21:06:47 +0000 Subject: Remove remaining K&R style prototypes. --- src/graph/view3D/main3d.c | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'src/graph/view3D/main3d.c') 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]; -- cgit v1.2.3