diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-12-19 12:33:43 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-12-19 12:34:24 -0800 |
commit | 8ebbef8a15967965402fc0f79371410b755f4fee (patch) | |
tree | dbe2faba7d8c9cf34587e8dbf72c62a808e2ba8f /src/tar.c | |
parent | 616e4213504a37e9b2f171f3992c4de2df27a683 (diff) | |
download | tar-8ebbef8a15967965402fc0f79371410b755f4fee.tar.gz |
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.
Diffstat (limited to 'src/tar.c')
-rw-r--r-- | src/tar.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -68,6 +68,12 @@ # define DEFAULT_BLOCKING 20 #endif +/* Print a message if not all links are dumped */ +static int check_links_option; + +/* Number of allocated tape drive names. */ +static size_t allocated_archive_names; + /* Miscellaneous. */ |