From a1a043899627341eb5117a48098d8d92abd43827 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Thu, 24 Jul 2014 21:30:41 -0500 Subject: [PATCH] resource.c: Make extract_chunk_to_fd() static --- include/wimlib/resource.h | 3 --- src/resource.c | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/include/wimlib/resource.h b/include/wimlib/resource.h index 7861f871..dfb2d0f4 100644 --- a/include/wimlib/resource.h +++ b/include/wimlib/resource.h @@ -298,9 +298,6 @@ extern int extract_full_stream_to_fd(struct wim_lookup_table_entry *lte, struct filedes *fd); -extern int -extract_chunk_to_fd(const void *chunk, size_t size, void *_fd_p); - /* Miscellaneous stream functions. */ extern int diff --git a/src/resource.c b/src/resource.c index 24526a83..6fb95de9 100644 --- a/src/resource.c +++ b/src/resource.c @@ -1436,7 +1436,7 @@ extract_stream(struct wim_lookup_table_entry *lte, u64 size, /* A consume_data_callback_t implementation that writes the chunk of data to a * file descriptor. */ -int +static int extract_chunk_to_fd(const void *chunk, size_t size, void *_fd_p) { struct filedes *fd = _fd_p; -- 2.43.0