projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed tzset as it is in rrd_graph now
[rrdtool.git]
/
bindings
/
perl-shared
/
RRDs.xs
diff --git
a/bindings/perl-shared/RRDs.xs
b/bindings/perl-shared/RRDs.xs
index
d567d07
..
4d871e9
100644
(file)
--- a/
bindings/perl-shared/RRDs.xs
+++ b/
bindings/perl-shared/RRDs.xs
@@
-5,16
+5,15
@@
extern "C" {
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
-#include <time.h>
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif
-#include "../src/rrd_tool.h"
+#include "../
../
src/rrd_tool.h"
/* perl 5.004 compatibility */
/* perl 5.004 compatibility */
-#if PERLPATCHLEVEL < 5
+#if PERLPATCHLEVEL < 5
#define PL_sv_undef sv_undef
#endif
#define PL_sv_undef sv_undef
#endif
@@
-39,12
+38,14
@@
extern "C" {
\
if (rrd_test_error()) XSRETURN_UNDEF;
\
if (rrd_test_error()) XSRETURN_UNDEF;
-
+/*
+ * should not be needed if libc is linked (see ntmake.pl)
#ifdef WIN32
#define free free
#define malloc malloc
#define realloc realloc
#ifdef WIN32
#define free free
#define malloc malloc
#define realloc realloc
-#endif /*WIN32*/
+#endif
+*/
MODULE = RRDs PACKAGE = RRDs PREFIX = rrd_
MODULE = RRDs PACKAGE = RRDs PREFIX = rrd_
@@
-139,7
+140,6
@@
rrd_graph(...)
}
optind=0; opterr=0;
rrd_clear_error();
}
optind=0; opterr=0;
rrd_clear_error();
- tzset();
rrd_graph(items+1,argv,&calcpr,&xsize,&ysize);
for (i=0; i < items; i++) {
free(argv[i+1]);
rrd_graph(items+1,argv,&calcpr,&xsize,&ysize);
for (i=0; i < items; i++) {
free(argv[i+1]);