The manywarnings module enables -Waggregate-return, but stat-time.h
provides functions that return a struct timespec value and therefore
trigger this compiler warning.

Would anyone object if I rewrote this header to change the signature of
the various functions from the current:

/* Return *ST's access time.  */
static inline struct timespec
get_stat_atime (struct stat const *st)

to the new:

/* Store *ST's access time into *TS.  */
static inline void
get_stat_atime (struct stat const *st, struct timespec *ts)

along with a NEWS entry about the API change?

-- 
Eric Blake   ebl...@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to