diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-02 21:50:01 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-02 21:50:01 +0000 |
commit | cfb53dfd5ec455bc0299654d4bb06b30dd5d1373 (patch) | |
tree | c68ec71f4fd0f658ba9d50a3ef14d79f4611e609 | |
parent | 7ab5f4d03d4541b96ccd42957eb74ff9f7728ebf (diff) | |
download | busybox-w32-cfb53dfd5ec455bc0299654d4bb06b30dd5d1373.tar.gz busybox-w32-cfb53dfd5ec455bc0299654d4bb06b30dd5d1373.tar.bz2 busybox-w32-cfb53dfd5ec455bc0299654d4bb06b30dd5d1373.zip |
- include proper prototypes in libunarchive.
-rw-r--r-- | archival/libunarchive/decompress_bunzip2.c | 4 | ||||
-rw-r--r-- | archival/libunarchive/decompress_unlzma.c | 2 | ||||
-rw-r--r-- | archival/libunarchive/open_transformer.c | 16 |
3 files changed, 8 insertions, 14 deletions
diff --git a/archival/libunarchive/decompress_bunzip2.c b/archival/libunarchive/decompress_bunzip2.c index 88d88b85f..3d07d9e03 100644 --- a/archival/libunarchive/decompress_bunzip2.c +++ b/archival/libunarchive/decompress_bunzip2.c | |||
@@ -24,7 +24,7 @@ | |||
24 | I would ask that anyone benefiting from this work, especially those | 24 | I would ask that anyone benefiting from this work, especially those |
25 | using it in commercial products, consider making a donation to my local | 25 | using it in commercial products, consider making a donation to my local |
26 | non-profit hospice organization (www.hospiceacadiana.com) in the name of | 26 | non-profit hospice organization (www.hospiceacadiana.com) in the name of |
27 | the woman I loved, Toni W. Hagan, who passed away Feb. 12, 2003. | 27 | the woman I loved, Toni W. Hagan, who passed away Feb. 12, 2003. |
28 | 28 | ||
29 | Manuel | 29 | Manuel |
30 | */ | 30 | */ |
@@ -38,6 +38,8 @@ | |||
38 | 38 | ||
39 | #include "libbb.h" | 39 | #include "libbb.h" |
40 | 40 | ||
41 | #include "unarchive.h" | ||
42 | |||
41 | /* Constants for Huffman coding */ | 43 | /* Constants for Huffman coding */ |
42 | #define MAX_GROUPS 6 | 44 | #define MAX_GROUPS 6 |
43 | #define GROUP_SIZE 50 /* 64 would have been more efficient */ | 45 | #define GROUP_SIZE 50 /* 64 would have been more efficient */ |
diff --git a/archival/libunarchive/decompress_unlzma.c b/archival/libunarchive/decompress_unlzma.c index 9c53e0a56..7ae343f0f 100644 --- a/archival/libunarchive/decompress_unlzma.c +++ b/archival/libunarchive/decompress_unlzma.c | |||
@@ -27,6 +27,8 @@ | |||
27 | 27 | ||
28 | #include "libbb.h" | 28 | #include "libbb.h" |
29 | 29 | ||
30 | #include "unarchive.h" | ||
31 | |||
30 | #include "rangecoder.h" | 32 | #include "rangecoder.h" |
31 | 33 | ||
32 | 34 | ||
diff --git a/archival/libunarchive/open_transformer.c b/archival/libunarchive/open_transformer.c index 0d362a5ab..c1a0aad4d 100644 --- a/archival/libunarchive/open_transformer.c +++ b/archival/libunarchive/open_transformer.c | |||
@@ -1,17 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * This program is free software; you can redistribute it and/or modify | 2 | * 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 | */ | 3 | */ |
16 | 4 | ||
17 | #include <stdlib.h> | 5 | #include <stdlib.h> |
@@ -19,6 +7,8 @@ | |||
19 | 7 | ||
20 | #include "libbb.h" | 8 | #include "libbb.h" |
21 | 9 | ||
10 | #include "unarchive.h" | ||
11 | |||
22 | /* transformer(), more than meets the eye */ | 12 | /* transformer(), more than meets the eye */ |
23 | int open_transformer(int src_fd, int (*transformer)(int src_fd, int dst_fd)) | 13 | int open_transformer(int src_fd, int (*transformer)(int src_fd, int dst_fd)) |
24 | { | 14 | { |