diff options
Diffstat (limited to 'src/sman')
-rw-r--r-- | src/sman/session.c | 5 | ||||
-rw-r--r-- | src/sman/sman.c | 10 |
2 files changed, 7 insertions, 8 deletions
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 <stdlib.h> #include <sys/time.h> #include <stdio.h> #include <string.h> #include <signal.h> + +#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 <stdlib.h> #include <unistd.h> #include <string.h> @@ -47,7 +45,7 @@ #include <sys/wait.h> #include <signal.h> - +#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(); |