libarchive: Use consistent function storage class

Functions declared 'static' should be defined 'static' too.
This commit is contained in:
Brad King 2009-11-04 17:25:35 -05:00
parent 4c6f63a409
commit 593bb64d16
3 changed files with 3 additions and 3 deletions

View File

@ -1199,7 +1199,7 @@ archive_entry_acl_add_entry_w(struct archive_entry *entry,
archive_entry_acl_add_entry_w_len(entry, type, permset, tag, id, name, wcslen(name)); archive_entry_acl_add_entry_w_len(entry, type, permset, tag, id, name, wcslen(name));
} }
void static void
archive_entry_acl_add_entry_w_len(struct archive_entry *entry, archive_entry_acl_add_entry_w_len(struct archive_entry *entry,
int type, int permset, int tag, int id, const wchar_t *name, size_t len) int type, int permset, int tag, int id, const wchar_t *name, size_t len)
{ {

View File

@ -768,7 +768,7 @@ _archive_read_close(struct archive *_a)
/* /*
* Release memory and other resources. * Release memory and other resources.
*/ */
int static int
_archive_read_finish(struct archive *_a) _archive_read_finish(struct archive *_a)
{ {
struct archive_read *a = (struct archive_read *)_a; struct archive_read *a = (struct archive_read *)_a;

View File

@ -1064,7 +1064,7 @@ restore_entry(struct archive_write_disk *a)
* the failed system call. Note: This function should only ever perform * the failed system call. Note: This function should only ever perform
* a single system call. * a single system call.
*/ */
int static int
create_filesystem_object(struct archive_write_disk *a) create_filesystem_object(struct archive_write_disk *a)
{ {
/* Create the entry. */ /* Create the entry. */