SuSE compile fixes

This commit is contained in:
Michiel Broek
2005-10-21 18:03:51 +00:00
parent d52ae4f113
commit 120deb862b
3 changed files with 6 additions and 3 deletions

View File

@@ -46,10 +46,10 @@ extern int do_quiet;
void dlcount(void)
{
char *temp, *p, *q, *date, *file, *base, month[20];
char *temp, *p, *q = NULL, *date, *file, *base, month[20];
FILE *fp;
int i, date_ok, file_ok, result, filesize;
time_t filedate, lastcheck;
time_t filedate = (time_t)0, lastcheck;
struct tm tm;
temp = calloc(PATH_MAX, sizeof(char));