Use consistent function storage class

Functions declared 'static' should be defined 'static' too.

SVN-Revision: 1657
This commit is contained in:
Brad King committed 2009-11-16 11:29:10 -05:00
1 parent b16468499e
commit 87599157fd
6 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -374,7 +374,7 @@ main(int argc, char *argv[])
return (0);
}
void
static void
usage(void)
{
const char *p;
+1 -1
View File
@@ -1206,7 +1206,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)
{
+1 -1
View File
@@ -767,7 +767,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;
+1 -1
View File
@@ -1074,7 +1074,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. */
+1 -1
View File
@@ -299,7 +299,7 @@ do_chdir(struct bsdtar *bsdtar)
bsdtar->pending_chdir = NULL;
}
const char *
static const char *
strip_components(const char *p, int elements)
{
/* Skip as many elements as necessary. */
+3 -3
View File
@@ -512,7 +512,7 @@ cleanup:
* cause the next line to be a directory to pass to chdir(). If
* --null is specified, then a line "-C" is just another filename.
*/
void
static void
archive_names_from_file(struct bsdtar *bsdtar, struct archive *a)
{
struct lafe_line_reader *lr;
@@ -1012,7 +1012,7 @@ write_file_data(struct bsdtar *bsdtar, struct archive *a,
/*
* Test if the specified file is new enough to include in the archive.
*/
int
static int
new_enough(struct bsdtar *bsdtar, const char *path, const struct stat *st)
{
struct archive_dir_entry *p;
@@ -1099,7 +1099,7 @@ add_dir_list(struct bsdtar *bsdtar, const char *path,
}
}
void
static void
test_for_append(struct bsdtar *bsdtar)
{
struct stat s;