forked from Lainports/freebsd-ports
- Beat the port to respect NOPORTDOCS - Add patches to fix compilation errors under 4.x (to be submitted upstream) - A patch to fix security vulnerability will be committed separately
20 lines
481 B
C
20 lines
481 B
C
--- 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)
|
|
{
|