diff options
author | dos-reis <gdr@axiomatics.org> | 2008-04-05 14:54:35 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-04-05 14:54:35 +0000 |
commit | 8414b45f48d68b898a6dda27069c377088687fb8 (patch) | |
tree | fbcb5352ce3903a5530e862e55c0b94dcdd2b297 /src/graph | |
parent | 9b1d808dba887f96e4607ed95465afb3ead9f420 (diff) | |
download | open-axiom-8414b45f48d68b898a6dda27069c377088687fb8.tar.gz |
* configure.ac.pamphlet (oa_shrlib_flags): Tidy.
(oa_shrobj_flags): Likewise.
* config/var-def.mk (LINK_SHRLIB): Tidy.
* INSTALL: Update.
* TODO: Likewise.
Diffstat (limited to 'src/graph')
-rw-r--r-- | src/graph/view2D/process2d.c | 37 | ||||
-rw-r--r-- | src/graph/view3D/process3d.c | 11 |
2 files changed, 2 insertions, 46 deletions
diff --git a/src/graph/view2D/process2d.c b/src/graph/view2D/process2d.c index 7df82480..97f641ef 100644 --- a/src/graph/view2D/process2d.c +++ b/src/graph/view2D/process2d.c @@ -59,12 +59,7 @@ static int doit=0; /* globish variable for picking/dropping/clearing - all sort void -#ifdef _NO_PROTO -doPick (i,bKey) - int i,bKey; -#else doPick (int i,int bKey) -#endif { int vCommand=pick2D; @@ -86,12 +81,7 @@ doPick (int i,int bKey) void -#ifdef _NO_PROTO -doDrop (i,bKey) - int i,bKey; -#else doDrop (int i,int bKey) -#endif { int vCommand=drop2D; int viewGoAhead; @@ -121,12 +111,7 @@ doDrop (int i,int bKey) } void -#ifdef _NO_PROTO -clickedOnGraphSelect (i,bKey) - int i,bKey; -#else clickedOnGraphSelect (int i,int bKey) -#endif { int strlength; @@ -182,13 +167,7 @@ clickedOnGraphSelect (int i,int bKey) static void -#ifndef _NO_PROTO drawControlPushButton(int isOn, int index) -#else - drawControlPushButton(isOn,index) - int isOn; - int index; -#endif { GDrawPushButton(dsply, processGC, processGC, processGC, control->controlWindow, @@ -206,12 +185,7 @@ drawControlPushButton(int isOn, int index) void -#ifdef _NO_PROTO -buttonAction (bKey) - int bKey; -#else buttonAction (int bKey) -#endif { int i; @@ -509,11 +483,7 @@ buttonAction (int bKey) /*********************** X Event Processing ***************************/ void -#ifdef _NO_PROTO -processEvents() -#else processEvents(void) -#endif { XEvent *event, @@ -851,7 +821,7 @@ processEvents(void) } /* else - not closing */ } /* if checkButton */ } /* if FD_ISSET(Xcon.... */ - else if FD_ISSET(0,&rd) { + else if (FD_ISSET(0,&rd)) { externalControl=spadAction(); /* returns (-1) if broken ,0 if success */ if (spadDraw && (externalControl==0)) drawViewport(Xoption); } @@ -864,12 +834,7 @@ processEvents(void) void -#ifdef _NO_PROTO -clickedOnGraph (i,bKey) - int i,bKey; -#else clickedOnGraph (int i,int bKey) -#endif { switch (doit) { diff --git a/src/graph/view3D/process3d.c b/src/graph/view3D/process3d.c index 79c11b42..9f267279 100644 --- a/src/graph/view3D/process3d.c +++ b/src/graph/view3D/process3d.c @@ -66,12 +66,7 @@ void -#ifdef _NO_PROTO -buttonAction (bKey) -int bKey; -#else buttonAction (int bKey) -#endif { char *s1, *s2; @@ -855,11 +850,7 @@ buttonAction (int bKey) /************************** X Event Processing *****************************/ void -#ifdef _NO_PROTO -processEvents() -#else processEvents(void) -#endif { XEvent *event, tempEvent; @@ -1594,7 +1585,7 @@ processEvents(void) } /* else - not closing */ } /* if checkButton */ } /* if FD_ISSET(Xcon,.. */ - else if FD_ISSET(0,&rd) { + else if (FD_ISSET(0,&rd)) { externalControl = spadAction(); if (spadDraw && (externalControl==0)) drawViewport(Xoption); } |