build: suppress an ignored-write-return-value warning
authorJim Meyering <meyering@redhat.com>
Tue, 18 Aug 2009 12:55:59 +0000 (14:55 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 18 Aug 2009 15:20:06 +0000 (17:20 +0200)
commit1d8afa2416416acaf8b7ffc500cadfde13e3aca3
tree778d5b2f163c66cbcf5ce89f680860cef2632ccb
parent53ce488f380e3dd94c26bf507c5639975125a1ee
build: suppress an ignored-write-return-value warning

* bootstrap (modules): Add ignore-value.
* src/guestfs.c: Include "ignore-value.h".
(stdout_event): Ignore failure to write to stderr.
Also, prefer STDERR_FILENO over the literal "2".
* src/Makefile.am (libguestfs_la_CPPFLAGS): Include gnulib's .h files.
(libprotocol_la_CFLAGS): Remove -Wall -Wno-unused.
bootstrap
src/Makefile.am
src/guestfs.c