]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Eliminate a paramter 'sym' of __link(), which is no longer needed.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 16 Dec 2009 12:50:38 +0000 (07:50 -0500)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 16 Dec 2009 12:50:38 +0000 (07:50 -0500)
SVN-Revision: 1747

libarchive/archive_windows.c

index 241880aab20aaee90ece64770f1c1d7d6a5a80d5..27e6a1837dccbb45c9b7aa857e37533baf0dda99 100644 (file)
@@ -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