Remove the use of Posix real-time functions.

The only reason to use clock_gettime() was to take a timestamp
in the signal handler. This is not needed anymoire, so improve
portability by sticking to gettimeofday() and setitimer().
This commit is contained in:
Matthieu Herrb 2012-07-31 08:26:05 +02:00
parent 1882a84527
commit c00525adaa
2 changed files with 20 additions and 64 deletions

View file

@ -5,7 +5,7 @@ SRCS= echoc.c
OBJS= $(SRCS:%.c=%.o)
LIBS= -lrt
LIBS=
all: $(PROG)