From 6886dab08e63b0874e34926360ff18928feffdec Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Fri, 19 Feb 2010 19:20:25 -0500 Subject: [PATCH] Do not leak setup_xattr into the global name space. SVN-Revision: 1917 --- libarchive/archive_read_disk_entry_from_file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libarchive/archive_read_disk_entry_from_file.c b/libarchive/archive_read_disk_entry_from_file.c index 0c7d3fc07..62ac67127 100644 --- a/libarchive/archive_read_disk_entry_from_file.c +++ b/libarchive/archive_read_disk_entry_from_file.c @@ -454,11 +454,11 @@ setup_xattrs(struct archive_read_disk *a, * to not include the system extattrs that hold ACLs; we handle * those separately. */ -int +static int setup_xattr(struct archive_read_disk *a, struct archive_entry *entry, int namespace, const char *name, const char *fullname, int fd); -int +static int setup_xattr(struct archive_read_disk *a, struct archive_entry *entry, int namespace, const char *name, const char *fullname, int fd) { -- 2.47.3