From 02f8c567c293344dd24b5a7a63e1f10908765063 Mon Sep 17 00:00:00 2001 From: Michihiro NAKAJIMA Date: Sun, 25 Apr 2010 09:23:30 -0400 Subject: [PATCH] get_parent_and_basename() is used when HAVE_ZLIB_H(for zisofs support) is defined. SVN-Revision: 2293 --- libarchive/archive_write_set_format_iso9660.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libarchive/archive_write_set_format_iso9660.c b/libarchive/archive_write_set_format_iso9660.c index 2e877b83f..9864ab475 100644 --- a/libarchive/archive_write_set_format_iso9660.c +++ b/libarchive/archive_write_set_format_iso9660.c @@ -4804,6 +4804,7 @@ isofile_gen_utility_names(struct isofile *file) file->dircnt ++; } +#ifdef HAVE_ZLIB_H static void get_parent_and_base(struct archive_string *parentdir, struct archive_string *basename, const char *pathname) @@ -4844,6 +4845,7 @@ get_parent_and_base(struct archive_string *parentdir, archive_strcpy(basename, slash + 1); } } +#endif /* HAVE_ZLIB_H */ /* * Register a entry to get a hardlink target. -- 2.47.3