From: Florian Forster Date: Mon, 3 May 2010 07:21:45 +0000 (+0200) Subject: python plugin: Remove "const" of usage strings. X-Git-Tag: collectd-4.10.1~16 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b9530c89d0db0f18ffc9762aee1c2e6e8d35cf20;p=collectd.git python plugin: Remove "const" of usage strings. The struct member isn't const, resulting in a warning. --- diff --git a/src/pyvalues.c b/src/pyvalues.c index 60462adb..cc7e296c 100644 --- a/src/pyvalues.c +++ b/src/pyvalues.c @@ -1009,7 +1009,7 @@ PyTypeObject NotificationType = { Notification_new /* tp_new */ }; -static const char Signed_doc[] = "This is a long by another name. Use it in meta data dicts\n" +static char Signed_doc[] = "This is a long by another name. Use it in meta data dicts\n" "to choose the way it is stored in the meta data."; PyTypeObject SignedType = { @@ -1036,7 +1036,7 @@ PyTypeObject SignedType = { Signed_doc /* tp_doc */ }; -static const char Unsigned_doc[] = "This is a long by another name. Use it in meta data dicts\n" +static char Unsigned_doc[] = "This is a long by another name. Use it in meta data dicts\n" "to choose the way it is stored in the meta data."; PyTypeObject UnsignedType = {