]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Merge r1917:
authorJoerg Sonnenberger <joerg.sonnenberger@gmail.com>
Sun, 7 Mar 2010 18:22:11 +0000 (13:22 -0500)
committerJoerg Sonnenberger <joerg.sonnenberger@gmail.com>
Sun, 7 Mar 2010 18:22:11 +0000 (13:22 -0500)
Do not leak setup_xattr into the global name space.

SVN-Revision: 2022

libarchive/archive_read_disk_entry_from_file.c

index e3795dec0a449d5422de4b448d401fcba66cd9e7..80e1d951d1533046dd196031776a442f93ab04b2 100644 (file)
@@ -430,11 +430,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)
 {