aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-06-15 03:13:00 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-06-15 03:13:00 +0000
commit3fcd1c219637f24882bdd5e17a9818ed31f1f944 (patch)
tree15b9111ab948a60e746159100ab80060fc8c2cda /libbb
parent553460f253c025d4b1f319c1513c0259dc4b7934 (diff)
downloadbusybox-w32-3fcd1c219637f24882bdd5e17a9818ed31f1f944.tar.gz
busybox-w32-3fcd1c219637f24882bdd5e17a9818ed31f1f944.tar.bz2
busybox-w32-3fcd1c219637f24882bdd5e17a9818ed31f1f944.zip
This isnt used anymore, replaced by seek_sub_file() in ./libbb/deb_extract.c
git-svn-id: svn://busybox.net/trunk/busybox@2835 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r--libbb/seek_ared_file.c17
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
5extern 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