]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Move the private ACL parser declaration out of the public header.
authorTim Kientzle <kientzle@gmail.com>
Sun, 2 May 2010 03:54:02 +0000 (23:54 -0400)
committerTim Kientzle <kientzle@gmail.com>
Sun, 2 May 2010 03:54:02 +0000 (23:54 -0400)
It should never have been here in the first place.

SVN-Revision: 2354

libarchive/archive_entry.h
libarchive/archive_entry_private.h
libarchive/archive_read_support_format_tar.c

index d23414cddc06ff8271e32e220e60dc7994467c6d..44bbbeec162824e9722af154507e9e4c5067a11a 100644 (file)
@@ -408,21 +408,6 @@ __LA_DECL const wchar_t    *archive_entry_acl_text_w(struct archive_entry *,
 /* Return a count of entries matching 'want_type' */
 __LA_DECL int   archive_entry_acl_count(struct archive_entry *, int /* want_type */);
 
-/*
- * Private ACL parser.  This is private because it handles some
- * very weird formats that clients should not be messing with.
- * Clients should only deal with their platform-native formats.
- * Because of the need to support many formats cleanly, new arguments
- * are likely to get added on a regular basis.  Clients who try to use
- * this interface are likely to be surprised when it changes.
- *
- * You were warned!
- *
- * TODO: Move this declaration out of the public header and into
- * a private header.  Warnings above are silly.
- */
-__LA_DECL int           __archive_entry_acl_parse_w(struct archive_entry *,
-                   const wchar_t *, int /* type */);
 
 /*
  * extended attributes
index 704075d626a6feab9b99a207dbb4be052b3daba0..c7c2154c85e9597a735a072df92d853e90744585 100644 (file)
@@ -192,5 +192,15 @@ struct archive_entry {
        char             strmode[12];
 };
 
+/*
+ * Private ACL parser.  This is private because it handles some
+ * very weird formats that clients should not be messing with.
+ * Clients should only deal with their platform-native formats.
+ * Because of the need to support many formats cleanly, new arguments
+ * are likely to get added on a regular basis.  Clients who try to use
+ * this interface are likely to be surprised when it changes.
+ */
+int             __archive_entry_acl_parse_w(struct archive_entry *,
+                   const wchar_t *, int /* type */);
 
 #endif /* ARCHIVE_ENTRY_PRIVATE_H_INCLUDED */
index 5719a43d51c2ad5e28cb6f7a08cca4db42c3f8cf..557439d094708d4f09aa053a6a705a23e8547d57 100644 (file)
@@ -69,6 +69,7 @@ static size_t wcslen(const wchar_t *s)
 
 #include "archive.h"
 #include "archive_entry.h"
+#include "archive_entry_private.h" /* For ACL parsing routines. */
 #include "archive_private.h"
 #include "archive_read_private.h"