]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Do not leak setup_xattr into the global name space.
authorJoerg Sonnenberger <joerg.sonnenberger@gmail.com>
Sat, 20 Feb 2010 00:20:25 +0000 (19:20 -0500)
committerJoerg Sonnenberger <joerg.sonnenberger@gmail.com>
Sat, 20 Feb 2010 00:20:25 +0000 (19:20 -0500)
SVN-Revision: 1917

libarchive/archive_read_disk_entry_from_file.c

index 0c7d3fc070ab53696731c9f36aac588b7d95db87..62ac671272d93af7b7f4b767af73d41352bc1762 100644 (file)
@@ -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)
 {