ignore-value: support aggregate types
authorEric Blake <eblake@redhat.com>
Thu, 6 Jan 2011 22:41:16 +0000 (15:41 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 7 Jan 2011 00:08:20 +0000 (17:08 -0700)
commit939dedd9a2fba934e5ff0313155f9f5f39cb6f6f
tree59ea3b92e007c8e954eade09e3af5012ac3747a7
parent456a9f9a86c8b4e71f38003027dfbaa45c19bf20
ignore-value: support aggregate types

Also has the advantage of avoiding problems with
gcc -Wbad-function-cast

* lib/ignore-value.h (ignore_value): Provide separate gcc
definition.
* modules/ignore-value-tests: New test module.
* tests/test-ignore-value.c: New test.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/ignore-value.h
modules/ignore-value-tests [new file with mode: 0644]
tests/test-ignore-value.c [new file with mode: 0644]