extern int always_checksum;
extern char *compare_dest;
extern int link_dest;
-extern struct file_struct **hlink_list;
/* choose whether to skip a particular file */
{
static struct sum_struct null_sum;
- if (sum == (struct sum_struct *)NULL)
+ if (sum == NULL)
sum = &null_sum;
write_int(f, sum->count);
fnamecmp = fname;
- if ((statret == -1) && (compare_dest != NULL)) {
+ if (statret == -1 && compare_dest != NULL) {
/* try the file at compare_dest instead */
int saveerrno = errno;
pathjoin(fnamecmpbuf, sizeof fnamecmpbuf, compare_dest, fname);
int phase=0;
char fbuf[MAXPATHLEN];
- if (verbose > 2)
- rprintf(FINFO,"generator starting pid=%d count=%d\n",
- (int)getpid(),flist->count);
+ if (verbose > 2) {
+ rprintf(FINFO, "generator starting pid=%ld count=%d\n",
+ (long)getpid(), flist->count);
+ }
if (verbose >= 2) {
rprintf(FINFO,