Made hard_link_check() compile when SUPPORT_HARD_LINKS isn't enabled.

This commit is contained in:
Wayne Davison committed 2004-07-12 07:03:28 +00:00
1 parent a04d77bcbc
commit bb91a624f1
1 file changed
+2
+2
View File
@@ -135,6 +135,7 @@ void init_hard_links(struct file_list *flist)
int hard_link_check(struct file_struct *file, int skip)
{
#if SUPPORT_HARD_LINKS
if (!hlink_list || !file->link_u.links)
return 0;
if (skip && !(file->flags & FLAG_HLINK_EOL))
@@ -146,6 +147,7 @@ int hard_link_check(struct file_struct *file, int skip)
}
return 1;
}
#endif
return 0;
}