Functions declared 'static' should be defined 'static' too.
SVN-Revision: 1657
return (0);
}
-void
+static void
usage(void)
{
const char *p;
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)
{
/*
* Release memory and other resources.
*/
-int
+static int
_archive_read_finish(struct archive *_a)
{
struct archive_read *a = (struct archive_read *)_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. */
bsdtar->pending_chdir = NULL;
}
-const char *
+static const char *
strip_components(const char *p, int elements)
{
/* Skip as many elements as necessary. */
* 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;
/*
* 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;
}
}
-void
+static void
test_for_append(struct bsdtar *bsdtar)
{
struct stat s;