summaryrefslogtreecommitdiff
path: root/src/tar.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-12-19 12:33:43 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-12-19 12:34:24 -0800
commit8ebbef8a15967965402fc0f79371410b755f4fee (patch)
treedbe2faba7d8c9cf34587e8dbf72c62a808e2ba8f /src/tar.c
parent616e4213504a37e9b2f171f3992c4de2df27a683 (diff)
downloadtar-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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tar.c b/src/tar.c
index cbb6c684..d230e958 100644
--- a/src/tar.c
+++ b/src/tar.c
@@ -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. */