X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fbuffer.c;h=4980d9bae400ee8d0c76a559a1d93c8bac0e5330;hb=8ebbef8a15967965402fc0f79371410b755f4fee;hp=422798ed32f696bece6e3799ce42caac9525a6ea;hpb=616e4213504a37e9b2f171f3992c4de2df27a683;p=chaz%2Ftar diff --git a/src/buffer.c b/src/buffer.c index 422798e..4980d9b 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -41,7 +41,7 @@ static tarlong prev_written; /* bytes written on previous volumes */ static tarlong bytes_written; /* bytes written on this volume */ static void *record_buffer[2]; /* allocated memory */ -union block *record_buffer_aligned[2]; +static union block *record_buffer_aligned[2]; static int record_index; /* FIXME: The following variables should ideally be static to this @@ -83,8 +83,8 @@ extern bool time_to_start_writing; bool write_archive_to_stdout; -void (*flush_write_ptr) (size_t); -void (*flush_read_ptr) (void); +static void (*flush_write_ptr) (size_t); +static void (*flush_read_ptr) (void); char *volume_label; @@ -230,7 +230,7 @@ clear_read_error_count (void) /* Time-related functions */ -double duration; +static double duration; void set_start_time (void)