[collectd-changes] collectd, the system statistics collection daemon: Changes to 'collectd-5.4'
Florian Forster
octo at verplant.org
Mon Aug 15 20:07:33 CEST 2016
configure.ac | 1 +
src/md.c | 4 ++++
2 files changed, 5 insertions(+)
New commits:
commit 8d0b7258dd4e4e850183ec8c73c67e4dc86464a8
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Thu Aug 11 17:44:42 2016 +0200
md: fix deprecation warning with latest glibc
md.c: In function âmd_processâ:
md.c:120:3: warning: â__makedev_from_sys_typesâ is deprecated:
In the GNU C Library, `makedev' is defined by <sys/sysmacros.h>.
For historical compatibility, it is currently defined by
<sys/types.h> as well, but we plan to remove this soon.
To use `makedev', include <sys/sysmacros.h> directly.
If you did not intend to use a system-defined macro `makedev',
you should #undef it after including <sys/types.h>.
[-Wdeprecated-declarations]
if (st.st_rdev != makedev (MD_MAJOR, minor))
^~
In file included from /usr/include/features.h:397:0,
from /usr/include/bits/libc-header-start.h:33,
from /usr/include/stdio.h:28,
from ./daemon/collectd.h:34,
from md.c:22:
More information about the collectd-changes
mailing list