From: Michihiro NAKAJIMA Date: Wed, 16 Dec 2009 12:50:38 +0000 (-0500) Subject: Eliminate a paramter 'sym' of __link(), which is no longer needed. X-Git-Tag: v2.8.0~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3d5d4913d0b63406c50a4e393d1d3e87009a3dc;p=thirdparty%2Flibarchive.git Eliminate a paramter 'sym' of __link(), which is no longer needed. SVN-Revision: 1747 --- diff --git a/libarchive/archive_windows.c b/libarchive/archive_windows.c index 241880aab..27e6a1837 100644 --- a/libarchive/archive_windows.c +++ b/libarchive/archive_windows.c @@ -269,7 +269,7 @@ la_CreateHardLinkW(wchar_t *linkname, wchar_t *target) /* Make a link to src called dst. */ static int -__link(const char *src, const char *dst, int sym) +__link(const char *src, const char *dst) { wchar_t *wsrc, *wdst; int res, retval; @@ -364,7 +364,7 @@ exit: int __la_link(const char *src, const char *dst) { - return __link (src, dst, 0); + return __link(src, dst); } int