summaryrefslogtreecommitdiff
path: root/archival/libunarchive/open_transformer.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-04-02 21:50:01 +0000
committerBernhard Reutner-Fischer2006-04-02 21:50:01 +0000
commitcfb53dfd5ec455bc0299654d4bb06b30dd5d1373 (patch)
treec68ec71f4fd0f658ba9d50a3ef14d79f4611e609 /archival/libunarchive/open_transformer.c
parent7ab5f4d03d4541b96ccd42957eb74ff9f7728ebf (diff)
downloadbusybox-cfb53dfd5ec455bc0299654d4bb06b30dd5d1373.zip
busybox-cfb53dfd5ec455bc0299654d4bb06b30dd5d1373.tar.gz
- include proper prototypes in libunarchive.
Diffstat (limited to 'archival/libunarchive/open_transformer.c')
-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 0d362a5..c1a0aad 100644
--- a/archival/libunarchive/open_transformer.c
+++ b/archival/libunarchive/open_transformer.c
@@ -1,17 +1,5 @@
/*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Library General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
#include <stdlib.h>
@@ -19,6 +7,8 @@
#include "libbb.h"
+#include "unarchive.h"
+
/* transformer(), more than meets the eye */
int open_transformer(int src_fd, int (*transformer)(int src_fd, int dst_fd))
{