From: Bruce Korb Date: Mon, 29 Dec 2008 21:00:19 +0000 (+0100) Subject: parse-duration: small doc tweak and coding aesthetics issue. X-Git-Tag: v0.1~6508 X-Git-Url: https://erislabs.net/gitweb/?a=commitdiff_plain;ds=sidebyside;h=2363a9f8faa3abfdfde6adec5c1dc0c816016731;hp=2363a9f8faa3abfdfde6adec5c1dc0c816016731;p=gnulib.git parse-duration: small doc tweak and coding aesthetics issue. * lib/parse-duration.h: non-iso form accepts years, months weeks, too * lib/parse-duration.c: use a switch instead of cascading if's. Signed-off-by: Ralf Wildenhues ---