Changes committed to git://git.pcp.io/kenj/pcp master
Ken McDonell (1):
libpcp_pmda: change some char * function arguments to const char *
man/man3/pmdadaemon.3 | 2 +-
man/man3/pmdahelp.3 | 2 +-
src/include/pcp/pmda.h | 10 +++++-----
src/libpcp_pmda/src/help.c | 2 +-
src/libpcp_pmda/src/open.c | 8 ++++----
5 files changed, 12 insertions(+), 12 deletions(-)
Details ...
commit 384625fd8d539d1bc15a8d297e2dd33421b041ab
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Aug 11 07:03:13 2016 +1000
libpcp_pmda: change some char * function arguments to const char *
As reported by David Gibson <pcp@xxxxxxxxxxxxxxxxxxxxx>, ...
I encountered this [problem] while trying to write a PMDA in C++
- that gives warnings when attempting to pass string literals
into these (char *) parameters.
This commit is based on David's patch plus some consequential fallout
in other libpcp_pmda routines and man page changes.
|