libarchive: Use consistent function storage class
Functions declared 'static' should be defined 'static' too.
This commit is contained in:
parent
4c6f63a409
commit
593bb64d16
|
@ -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));
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
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)
|
||||
{
|
||||
|
|
|
@ -768,7 +768,7 @@ _archive_read_close(struct archive *_a)
|
|||
/*
|
||||
* Release memory and other resources.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
_archive_read_finish(struct archive *_a)
|
||||
{
|
||||
struct archive_read *a = (struct archive_read *)_a;
|
||||
|
|
|
@ -1064,7 +1064,7 @@ restore_entry(struct archive_write_disk *a)
|
|||
* the failed system call. Note: This function should only ever perform
|
||||
* a single system call.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
create_filesystem_object(struct archive_write_disk *a)
|
||||
{
|
||||
/* Create the entry. */
|
||||
|
|
Loading…
Reference in New Issue