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:
parent
1882a84527
commit
c00525adaa
2 changed files with 20 additions and 64 deletions
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ SRCS= echoc.c
|
|||
|
||||
OBJS= $(SRCS:%.c=%.o)
|
||||
|
||||
LIBS= -lrt
|
||||
LIBS=
|
||||
|
||||
all: $(PROG)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue