write: Simplify config parsers.
authorAndre Noll <maan@systemlinux.org>
Thu, 4 Nov 2010 07:59:57 +0000 (08:59 +0100)
committerAndre Noll <maan@systemlinux.org>
Tue, 23 Nov 2010 16:33:46 +0000 (17:33 +0100)
commitbb991c66000ea867d0fcbd692ffdc5473eb785fb
tree681e2ba85709fd2848dc47f768c94409b6417be6
parente5f02e0748de02eabfb8e0746af09eb676ec1dc0
write: Simplify config parsers.

These functions all call the gengetopt parser which aborts on errors. It is therefore
pointless to check the return value. Document this fact and make it explicit by renaming
->parse_config of struct writer to ->parse_config_or_die().
alsa_write.c
file_write.c
oss_write.c
osx_write.c
write.h
write_common.c