src/daemon/plugin.[ch]: Make the user_data_t* const.
authorFlorian Forster <octo@collectd.org>
Wed, 28 Sep 2016 19:27:54 +0000 (21:27 +0200)
committerFlorian Forster <octo@collectd.org>
Wed, 28 Sep 2016 19:27:54 +0000 (21:27 +0200)
commit69d058a6ce8557e24b604b8efb09136e02054bd0
treed20220bbc87d51ed518e9c0a6ce7fc08d93244b9
parent38b9a40f8d93809723254db9278ed9a9febb25e2
src/daemon/plugin.[ch]: Make the user_data_t* const.

That is, user_data_t* passed to register_* functions. The actual callbacks
are still getting a user_data_t* since they, in theory, would be able to
modify the pointer stored in .data.

Issue: #1954
src/daemon/plugin.c
src/daemon/plugin.h