[collectd-changes] collectd, the system statistics collection daemon: Changes to 'collectd-4.9'

Florian Forster octo at verplant.org
Fri Mar 18 11:05:27 CET 2011


 src/plugin.c |    2 +-
 src/plugin.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f9451f7f6e794e7f42ef8f4b1c5551537b848272
Author: Bruno Prémont <bonbons at linux-vserver.org>
Date:   Fri Mar 18 08:24:40 2011 +0100

    Fix compilation error with plugin_register_shutdown
    
    Compiling collectd-4.10.2 on an OpenSuSE 11.3 system causes the
    following error:
      snmp.c: In function ‘module_register’:
      snmp.c:1620:3: error: passing argument 1 of ‘plugin_register_shutdown’ discards qualifiers from pointer target type
      plugin.h:275:5: note: expected ‘char *’ but argument is of type ‘const char *’
    
    Convert plugin_register_shutdown's name argument from 'char *' to
    'const char *' in order to match the other plugin_register_*
    functions.
    
    Signed-off-by: Bruno Prémont <bonbons at linux-vserver.org>
    Signed-off-by: Florian Forster <octo at huhu.verplant.org>




More information about the collectd-changes mailing list