summaryrefslogtreecommitdiff
path: root/libarchive/archive_acl.c
diff options
context:
space:
mode:
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>2012-02-09 08:12:29 +0900
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>2012-02-09 08:12:29 +0900
commit091a28e513073fe80423138194de8341bd2e16a5 (patch)
tree4168e8e502a95ad0465639818692d3bc3116d004 /libarchive/archive_acl.c
parentfc22f4a623faf980919b5bebc634b797e0d37644 (diff)
downloadlibarchive-091a28e513073fe80423138194de8341bd2e16a5.tar.gz
Fix build failure with -Wmissing-prototypes GCC option since it happend on FreeBSD current.
Diffstat (limited to 'libarchive/archive_acl.c')
-rw-r--r--libarchive/archive_acl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libarchive/archive_acl.c b/libarchive/archive_acl.c
index a09faaee..bf4b6104 100644
--- a/libarchive/archive_acl.c
+++ b/libarchive/archive_acl.c
@@ -52,6 +52,9 @@ static int acl_special(struct archive_acl *acl,
int type, int permset, int tag);
static struct archive_acl_entry *acl_new_entry(struct archive_acl *acl,
int type, int permset, int tag, int id);
+static int archive_acl_add_entry_len_l(struct archive_acl *acl,
+ int type, int permset, int tag, int id, const char *name,
+ size_t len, struct archive_string_conv *sc);
static int isint_w(const wchar_t *start, const wchar_t *end, int *result);
static int ismode_w(const wchar_t *start, const wchar_t *end, int *result);
static void next_field_w(const wchar_t **wp, const wchar_t **start,
@@ -152,7 +155,7 @@ archive_acl_add_entry_w_len(struct archive_acl *acl,
return ARCHIVE_OK;
}
-int
+static int
archive_acl_add_entry_len_l(struct archive_acl *acl,
int type, int permset, int tag, int id, const char *name, size_t len,
struct archive_string_conv *sc)