Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/libarchive/dist/libarchive Do not leak setup_xa...



details:   https://anonhg.NetBSD.org/src/rev/b6a77605c6e3
branches:  trunk
changeset: 752223:b6a77605c6e3
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Feb 20 02:53:09 2010 +0000

description:
Do not leak setup_xattr into the public namespace.

diffstat:

 external/bsd/libarchive/dist/libarchive/archive_read_disk_entry_from_file.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 893eeb700bdd -r b6a77605c6e3 external/bsd/libarchive/dist/libarchive/archive_read_disk_entry_from_file.c
--- a/external/bsd/libarchive/dist/libarchive/archive_read_disk_entry_from_file.c       Sat Feb 20 02:51:32 2010 +0000
+++ b/external/bsd/libarchive/dist/libarchive/archive_read_disk_entry_from_file.c       Sat Feb 20 02:53:09 2010 +0000
@@ -430,11 +430,11 @@
  * 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)
 {



Home | Main Index | Thread Index | Old Index