Fix new glibc warnings about warn_unused_result.
[ccan] / Makefile-ccan
index cbd9871cbec8cebfdbd9657caaa4263a4e51e3b2..b2e390785b609393eeeb6e87701cbfa88f45e61a 100644 (file)
@@ -2,7 +2,7 @@
 # You could just do:
 #      SRCFILES += $(shell find ccan/ -name '[a-z]*.c')
 
-CFLAGS=-g -O2 -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Werror -Iccan -I.
+CFLAGS=-g -O2 -Wall -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Werror -I.
 
 CFILES=$(wildcard ccan/*/[a-z]*.c)
 OBJFILES=$(CFILES:.c=.o)