Ignore warnings on unused return values

Modify the Makefile to silence warnings about unused
return values in the source code.

Signed-off-by: Clark Rawlins <clark@bit63.org>
This commit is contained in:
Clark Rawlins 2014-12-14 09:52:12 -08:00
parent 957c5aefad
commit 4f37273c60

View file

@ -1,4 +1,4 @@
CFLAGS=-fomit-frame-pointer -O2 -s -g -Wall CFLAGS=-fomit-frame-pointer -O2 -s -g -Wall -Wno-unused-result
timeoutd: timeoutd.c Makefile timeoutd: timeoutd.c Makefile
#$(CC) $(CFLAGS) -o timeoutd timeoutd.c #$(CC) $(CFLAGS) -o timeoutd timeoutd.c
$(CC) $(CFLAGS) -o timeoutd.o -c timeoutd.c -DTIMEOUTDX11 $(CC) $(CFLAGS) -o timeoutd.o -c timeoutd.c -DTIMEOUTDX11