tar: remove unused externs, or make them static

* src/buffer.c (record_buffer_aligned, flush_write_ptr, flush_read_ptr)
(duration):
* src/list.c (recent_global_header):
* src/unlink.c (deferred_unlink_delay):
* src/transform.c (transform_flags):
* src/xattrs.c (acl_get_file_at, acl_set_file_at, file_has_acl_at):
Now static.
* src/common.h (rmt_command_option): Remove; unused.
* src/tar.c (check_links_option, allocated_archive_names):
Move decls here from common.h; these are now static.
This commit is contained in:
Paul Eggert
2012-12-19 12:33:43 -08:00
parent 616e421350
commit 8ebbef8a15
7 changed files with 17 additions and 18 deletions

View File

@@ -39,7 +39,7 @@ static struct deferred_unlink *dunlink_avail;
/* Delay (number of records written) between adding entry to the
list and its actual removal. */
size_t deferred_unlink_delay = 0;
static size_t deferred_unlink_delay = 0;
static struct deferred_unlink *
dunlink_alloc (void)