diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-05 16:21:37 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-05 16:21:37 +0000 |
commit | fa939aae8178b1675e6fa118c7da05ae575f87cd (patch) | |
tree | 00bbd3cfe2ad339355510b3e96c57d7f985f0674 /archival | |
parent | 465874f3a31da80c3fe444a425afbb840098de1c (diff) | |
download | busybox-w32-fa939aae8178b1675e6fa118c7da05ae575f87cd.tar.gz busybox-w32-fa939aae8178b1675e6fa118c7da05ae575f87cd.tar.bz2 busybox-w32-fa939aae8178b1675e6fa118c7da05ae575f87cd.zip |
- include proper headers.
Diffstat (limited to 'archival')
-rw-r--r-- | archival/libunarchive/seek_by_char.c | 19 | ||||
-rw-r--r-- | archival/libunarchive/unpack_ar_archive.c | 17 |
2 files changed, 8 insertions, 28 deletions
diff --git a/archival/libunarchive/seek_by_char.c b/archival/libunarchive/seek_by_char.c index 02874db51..81d5f8d7c 100644 --- a/archival/libunarchive/seek_by_char.c +++ b/archival/libunarchive/seek_by_char.c | |||
@@ -1,23 +1,14 @@ | |||
1 | /* vi:set ts=4:*/ | ||
1 | /* | 2 | /* |
2 | * This program is free software; you can redistribute it and/or modify | 3 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
3 | * it under the terms of the GNU General Public License as published by | ||
4 | * the Free Software Foundation; either version 2 of the License, or | ||
5 | * (at your option) any later version. | ||
6 | * | ||
7 | * This program is distributed in the hope that it will be useful, | ||
8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
10 | * GNU Library General Public License for more details. | ||
11 | * | ||
12 | * You should have received a copy of the GNU General Public License | ||
13 | * along with this program; if not, write to the Free Software | ||
14 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
15 | */ | 4 | */ |
16 | 5 | ||
17 | #include <stdlib.h> | 6 | #include <stdlib.h> |
18 | 7 | ||
19 | #include "unarchive.h" | 8 | #include "unarchive.h" |
20 | #include "busybox.h" | 9 | #include "libbb.h" |
10 | |||
11 | |||
21 | 12 | ||
22 | /* If we are reading through a pipe(), or from stdin then we cant lseek, | 13 | /* If we are reading through a pipe(), or from stdin then we cant lseek, |
23 | * we must read and discard the data to skip over it. | 14 | * we must read and discard the data to skip over it. |
diff --git a/archival/libunarchive/unpack_ar_archive.c b/archival/libunarchive/unpack_ar_archive.c index 7bb40af5b..15e56a468 100644 --- a/archival/libunarchive/unpack_ar_archive.c +++ b/archival/libunarchive/unpack_ar_archive.c | |||
@@ -1,23 +1,12 @@ | |||
1 | /* vi:set ts=4:*/ | ||
1 | /* | 2 | /* |
2 | * This program is free software; you can redistribute it and/or modify | 3 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
3 | * it under the terms of the GNU General Public License as published by | ||
4 | * the Free Software Foundation; either version 2 of the License, or | ||
5 | * (at your option) any later version. | ||
6 | * | ||
7 | * This program is distributed in the hope that it will be useful, | ||
8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
10 | * GNU Library General Public License for more details. | ||
11 | * | ||
12 | * You should have received a copy of the GNU General Public License | ||
13 | * along with this program; if not, write to the Free Software | ||
14 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
15 | */ | 4 | */ |
16 | #include <fcntl.h> | 5 | #include <fcntl.h> |
17 | #include <stdlib.h> | 6 | #include <stdlib.h> |
18 | #include <string.h> | 7 | #include <string.h> |
19 | #include "unarchive.h" | 8 | #include "unarchive.h" |
20 | #include "busybox.h" | 9 | #include "libbb.h" |
21 | 10 | ||
22 | void unpack_ar_archive(archive_handle_t *ar_archive) | 11 | void unpack_ar_archive(archive_handle_t *ar_archive) |
23 | { | 12 | { |