projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fc1aeb
)
perl plugin: mark file variable as const
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 17:08:24 +0000
(18:08 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 17:08:24 +0000
(18:08 +0100)
src/perl.c
patch
|
blob
|
history
diff --git
a/src/perl.c
b/src/perl.c
index
c25bfe8
..
36c1e26
100644
(file)
--- a/
src/perl.c
+++ b/
src/perl.c
@@
-2179,9
+2179,9
@@
static MGVTBL g_interval_vtbl = {
/* bootstrap the Collectd module */
static void xs_init (pTHX)
{
- HV *stash = NULL;
- SV *tmp = NULL;
- char *file = __FILE__;
+ HV
*stash = NULL;
+ SV
*tmp = NULL;
+ c
onst c
har *file = __FILE__;
int i = 0;