aboutsummaryrefslogtreecommitdiff
path: root/src/graph/viewAlone
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-09-09 05:24:24 +0000
committerdos-reis <gdr@axiomatics.org>2008-09-09 05:24:24 +0000
commitc6dc46b33cae5230dcbdf024da95532ea0cd1891 (patch)
treebec45d8eafffbf2c1ff769bfed962bf1f86b4567 /src/graph/viewAlone
parentc0f80aca887462749a7cdc4fcacc579ee59aa850 (diff)
downloadopen-axiom-c6dc46b33cae5230dcbdf024da95532ea0cd1891.tar.gz
* lib/sockio-c.c (openaxiom_sleep): Move to open-axiom.h.
* clef/edible.c: Include "open-axiom.h". Use openaxiom_sleep, not sleep. * graph/view2D/viewport2D.c: Likewise. * graph/viewAlone/spoon2D.c: Likewise. * graph/viewAlone/spoonComp.c: Likewise. * graph/viewman/fun2D.c: Likewise. * graph/viewman/fun3D.c: Likewise. * hyper/spadint.c: Likewise. * sman/session.c: Likewise. * sman/sman.c: Likewise.
Diffstat (limited to 'src/graph/viewAlone')
-rw-r--r--src/graph/viewAlone/spoon2D.c4
-rw-r--r--src/graph/viewAlone/spoonComp.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/graph/viewAlone/spoon2D.c b/src/graph/viewAlone/spoon2D.c
index 236caeb8..c50e4ba3 100644
--- a/src/graph/viewAlone/spoon2D.c
+++ b/src/graph/viewAlone/spoon2D.c
@@ -34,12 +34,12 @@
*/
#define _SPOON2D_C
-#include "openaxiom-c-macros.h"
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
+#include "open-axiom.h"
#include "viewAlone.h"
@@ -133,7 +133,7 @@ spoonView2D(void)
/*** get acknowledge from viewport */
code = read(viewP.viewIn,&(viewP.viewWindow),sizeof(Window));
- sleep(1); /* wait a second...*/
+ openaxiom_sleep(1); /* wait a second...*/
exit(0);
} /* switch */
diff --git a/src/graph/viewAlone/spoonComp.c b/src/graph/viewAlone/spoonComp.c
index 79fe174c..92902443 100644
--- a/src/graph/viewAlone/spoonComp.c
+++ b/src/graph/viewAlone/spoonComp.c
@@ -34,12 +34,12 @@
*/
#define _SPOONCOMP_C
-#include "openaxiom-c-macros.h"
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
+#include "open-axiom.h"
#include "viewAlone.h"
#include "mode.h"
@@ -155,7 +155,7 @@ spoonView3D(int type)
/*** get acknowledge from viewport */
code = read(viewP.viewIn,&(viewP.viewWindow),sizeof(Window));
- sleep(1); /* wait a second...*/
+ openaxiom_sleep(1); /* wait a second...*/
exit(0);
} /* switch */