summaryrefslogtreecommitdiff
path: root/sysutils/cfengine2/files/patch-src_cfetoolgraph.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cfengine2/files/patch-src_cfetoolgraph.c')
-rw-r--r--sysutils/cfengine2/files/patch-src_cfetoolgraph.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/cfengine2/files/patch-src_cfetoolgraph.c b/sysutils/cfengine2/files/patch-src_cfetoolgraph.c
new file mode 100644
index 000000000000..f1e51df51aff
--- /dev/null
+++ b/sysutils/cfengine2/files/patch-src_cfetoolgraph.c
@@ -0,0 +1,20 @@
+--- src/cfetoolgraph.c.orig Thu Oct 6 19:31:19 2005
++++ src/cfetoolgraph.c Thu Oct 6 19:32:22 2005
+@@ -542,6 +542,8 @@ void WriteGraphFiles(int dbtype)
+ void WriteHistogram(int dbtype)
+ {
+ int numdays=0;
++ int position, day;
++ int weekly[CF_GRAINS];
+ /* Finally, look at the histogram */
+
+ printf("Writing histogram file now!\n");
+@@ -554,8 +556,6 @@ void WriteHistogram(int dbtype)
+ }
+ }
+
+- int position, day;
+- int weekly[CF_GRAINS];
+
+ switch(dbtype)
+ {