From c6dc46b33cae5230dcbdf024da95532ea0cd1891 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Tue, 9 Sep 2008 05:24:24 +0000 Subject: * 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. --- src/sman/session.c | 5 +++-- src/sman/sman.c | 10 ++++------ 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'src/sman') diff --git a/src/sman/session.c b/src/sman/session.c index 4addf254..7cbc375a 100644 --- a/src/sman/session.c +++ b/src/sman/session.c @@ -37,12 +37,13 @@ /* #define DEBUG */ #define _SESSION_C -#include "openaxiom-c-macros.h" #include #include #include #include #include + +#include "open-axiom.h" #include "sockio.h" #include "com.h" #include "bsdsignal.h" @@ -465,7 +466,7 @@ main(void) #ifdef DEBUG2 /* delay for attaching with debugger before interesting things happen */ - sleep(30); + openaxiom_sleep(30); #endif /* spad_server connects to Lisp server socket diff --git a/src/sman/sman.c b/src/sman/sman.c index c7b5aa62..76c6d59e 100644 --- a/src/sman/sman.c +++ b/src/sman/sman.c @@ -33,8 +33,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "openaxiom-c-macros.h" - #include #include #include @@ -47,7 +45,7 @@ #include #include - +#include "open-axiom.h" #include "sockio.h" #include "com.h" #include "bsdsignal.h" @@ -735,7 +733,7 @@ monitor_children(void) if (dead_baby == -1 && death_signal) { kill_all_children(); clean_up_sockets(); - sleep(2); + openaxiom_sleep(2); exit(0); } @@ -754,7 +752,7 @@ monitor_children(void) case Die: kill_all_children(); clean_up_sockets(); - sleep(2); + openaxiom_sleep(2); exit(0); case NadaDelShitsky: break; @@ -789,7 +787,7 @@ main(int argc, char *argv[],char *envp[]) if (start_local_spadclient) start_the_local_spadclient(); if (start_ht) start_the_hypertex(); if (start_graphics) start_the_graphics(); - sleep(1); + openaxiom_sleep(1); if (fork_you(Die) != NULL) { sman_catch_signals(); -- cgit v1.2.3