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/clef/edible.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/clef') diff --git a/src/clef/edible.c b/src/clef/edible.c index a2b87863..fb5494e6 100644 --- a/src/clef/edible.c +++ b/src/clef/edible.c @@ -33,8 +33,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "openaxiom-c-macros.h" - #include #include #include @@ -46,7 +44,7 @@ #include #include - +#include "open-axiom.h" #include "sockio.h" #include "edible.h" #include "com.h" @@ -398,7 +396,7 @@ terminate_handler(int sig) sigfile = open(sigbuff, O_RDWR | O_APPEND); write(sigfile, "Terminate Handler\n", strlen("Terminate Handler\n") + 1); close(sigfile); - sleep(1); + openaxiom_sleep(1); #endif kill(child_pid, SIGTERM); /* fix the terminal, and exit */ @@ -420,7 +418,7 @@ interrupt_handler(int sig) sigfile = open(sigbuff, O_RDWR | O_APPEND); write(sigfile, "Interrupt Handler\n", strlen("Interrupt Handler\n") + 1); close(sigfile); - sleep(1); + openaxiom_sleep(1); #endif kill(child_pid, SIGINT); } -- cgit v1.2.3