src/daemon/utils_time.h: Return structs from CDTIME_T_TO_TIME{VAL,SPEC}.
authorFlorian Forster <octo@collectd.org>
Wed, 26 Oct 2016 14:46:29 +0000 (16:46 +0200)
committerFlorian Forster <octo@collectd.org>
Wed, 26 Oct 2016 14:46:29 +0000 (16:46 +0200)
commita762b2b4a6d804139c9ab5f47afacc1a88d6c0c1
tree5d84f76c9ddfb0697f309d3fa15c7fb0d32f3cf0
parentbf70b5ba18d3fc58f976f2923ecf7135900537a7
src/daemon/utils_time.h: Return structs from CDTIME_T_TO_TIME{VAL,SPEC}.

Since these are macros use composite literals, you can even take the
address of these struct, which is very handy for calling nanosleep()
and friends.
src/amqp.c
src/daemon/collectd.c
src/daemon/plugin.c
src/daemon/utils_time.c
src/daemon/utils_time.h
src/daemon/utils_time_test.c
src/dns.c
src/dpdkstat.c
src/powerdns.c