]> wimlib.net Git - wimlib/commitdiff
resource.c: Make extract_chunk_to_fd() static
authorEric Biggers <ebiggers3@gmail.com>
Fri, 25 Jul 2014 02:30:41 +0000 (21:30 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Fri, 25 Jul 2014 02:30:41 +0000 (21:30 -0500)
include/wimlib/resource.h
src/resource.c

index 7861f871d289ba1e4edecaeb997b50a57b4a5782..dfb2d0f43a6ad851cad3915ffca070ab6b8a1ef2 100644 (file)
@@ -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
index 24526a8310370a443b7c838b43ae4805a8098c0d..6fb95de9336c0e17680b0b96ea45b6c7b5246d5e 100644 (file)
@@ -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;