deque: check HAVE_STATEMENT_EXPR, tweaks from feedback
authorDan Good <dan@dancancode.com>
Tue, 5 Jan 2016 01:07:19 +0000 (01:07 +0000)
committerDan Good <dan@dancancode.com>
Tue, 5 Jan 2016 01:07:19 +0000 (01:07 +0000)
commit3022d16de40870c66c891a4aa75280e194ddf89f
tree84f27ad29ccfda9d5abe45b66b6ca499629c8ffc
parent4eb5f52c94d6c32f1b8347ee599906d60239e0d4
deque: check HAVE_STATEMENT_EXPR, tweaks from feedback

Thanks to the detailed feedback from David Gibson, I made the
following improvements:

* add missing includes
* check for statement expression support, give an error if absent
* ccanlint directive to skip "without features" steps
* add license ref to top of source files
* rename run1.c test to api1.c

Signed-off-by: Dan Good <dan@dancancode.com>
ccan/deque/_info
ccan/deque/deque.c
ccan/deque/deque.h
ccan/deque/test/api1.c [new file with mode: 0644]
ccan/deque/test/run1.c [deleted file]
ccan/deque/test/run2.c