aboutsummaryrefslogtreecommitdiff
path: root/src/graph/view3D/main3d.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph/view3D/main3d.c')
-rw-r--r--src/graph/view3D/main3d.c18
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];