aboutsummaryrefslogtreecommitdiff
path: root/archival/libunarchive/open_transformer.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-04-02 21:50:01 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-04-02 21:50:01 +0000
commitcfb53dfd5ec455bc0299654d4bb06b30dd5d1373 (patch)
treec68ec71f4fd0f658ba9d50a3ef14d79f4611e609 /archival/libunarchive/open_transformer.c
parent7ab5f4d03d4541b96ccd42957eb74ff9f7728ebf (diff)
downloadbusybox-w32-cfb53dfd5ec455bc0299654d4bb06b30dd5d1373.tar.gz
busybox-w32-cfb53dfd5ec455bc0299654d4bb06b30dd5d1373.tar.bz2
busybox-w32-cfb53dfd5ec455bc0299654d4bb06b30dd5d1373.zip
- include proper prototypes in libunarchive.
Diffstat (limited to '')
-rw-r--r--archival/libunarchive/open_transformer.c16
1 files changed, 3 insertions, 13 deletions
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 */
23int open_transformer(int src_fd, int (*transformer)(int src_fd, int dst_fd)) 13int open_transformer(int src_fd, int (*transformer)(int src_fd, int dst_fd))
24{ 14{