diff options
| -rw-r--r-- | libbb/seek_ared_file.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libbb/seek_ared_file.c b/libbb/seek_ared_file.c deleted file mode 100644 index 67c789d6d..000000000 --- a/libbb/seek_ared_file.c +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | #include <stdio.h> | ||
| 2 | #include <stdlib.h> | ||
| 3 | #include "libbb.h" | ||
| 4 | |||
| 5 | extern int seek_ared_file(FILE *in_file, ar_headers_t *headers, const char *tar_gz_file) | ||
| 6 | { | ||
| 7 | /* find the headers for the specified .tar.gz file */ | ||
| 8 | while (headers->next != NULL) { | ||
| 9 | if (strcmp(headers->name, tar_gz_file) == 0) { | ||
| 10 | fseek(in_file, headers->offset, SEEK_SET); | ||
| 11 | return(EXIT_SUCCESS); | ||
| 12 | } | ||
| 13 | headers = headers->next; | ||
| 14 | } | ||
| 15 | |||
| 16 | return(EXIT_FAILURE); | ||
| 17 | } \ No newline at end of file | ||
