aboutsummaryrefslogtreecommitdiff
path: root/src/graph/view2D/viewport2D.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph/view2D/viewport2D.c')
-rw-r--r--src/graph/view2D/viewport2D.c24
1 files changed, 2 insertions, 22 deletions
diff --git a/src/graph/view2D/viewport2D.c b/src/graph/view2D/viewport2D.c
index a0a06aa9..a5934018 100644
--- a/src/graph/view2D/viewport2D.c
+++ b/src/graph/view2D/viewport2D.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.
@@ -69,11 +69,7 @@ Atom wm_delete_window;
***************************/
void
-#ifdef _NO_PROTO
-writeTitle()
-#else
writeTitle(void)
-#endif
{
int strlength;
@@ -96,12 +92,7 @@ writeTitle(void)
/********************************/
void
-#ifdef _NO_PROTO
-drawTheViewport(dFlag)
-int dFlag; /* display flag: X, PS,... */
-#else
drawTheViewport(int dFlag)
-#endif
{
Window vw;
@@ -565,13 +556,7 @@ drawTheViewport(int dFlag)
************************************/
viewPoints *
-#ifdef _NO_PROTO
-makeViewport(title,vX,vY,vW,vH,showCP)
- char *title;
- int vX,vY,vW,vH,showCP;
-#else
makeViewport(char *title,int vX,int vY,int vW,int vH,int showCP)
-#endif
{
Pixmap spadbits,spadmask;
XSetWindowAttributes viewAttrib;
@@ -684,12 +669,7 @@ makeViewport(char *title,int vX,int vY,int vW,int vH,int showCP)
viewPoints *
-#ifdef _NO_PROTO
-makeView2D(viewdata)
- view2DStruct *viewdata;
-#else
makeView2D(view2DStruct *viewdata)
-#endif
{
viewPoints *vPoints;