summaryrefslogtreecommitdiff
path: root/archival/libunarchive
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-04-05 16:21:37 +0000
committerBernhard Reutner-Fischer2006-04-05 16:21:37 +0000
commitfa939aae8178b1675e6fa118c7da05ae575f87cd (patch)
tree00bbd3cfe2ad339355510b3e96c57d7f985f0674 /archival/libunarchive
parent465874f3a31da80c3fe444a425afbb840098de1c (diff)
downloadbusybox-fa939aae8178b1675e6fa118c7da05ae575f87cd.zip
busybox-fa939aae8178b1675e6fa118c7da05ae575f87cd.tar.gz
- include proper headers.
Diffstat (limited to 'archival/libunarchive')
-rw-r--r--archival/libunarchive/seek_by_char.c19
-rw-r--r--archival/libunarchive/unpack_ar_archive.c17
2 files changed, 8 insertions, 28 deletions
diff --git a/archival/libunarchive/seek_by_char.c b/archival/libunarchive/seek_by_char.c
index 02874db..81d5f8d 100644
--- a/archival/libunarchive/seek_by_char.c
+++ b/archival/libunarchive/seek_by_char.c
@@ -1,23 +1,14 @@
+/* vi:set ts=4:*/
/*
- * 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>
#include "unarchive.h"
-#include "busybox.h"
+#include "libbb.h"
+
+
/* If we are reading through a pipe(), or from stdin then we cant lseek,
* 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 7bb40af..15e56a4 100644
--- a/archival/libunarchive/unpack_ar_archive.c
+++ b/archival/libunarchive/unpack_ar_archive.c
@@ -1,23 +1,12 @@
+/* vi:set ts=4:*/
/*
- * 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 <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include "unarchive.h"
-#include "busybox.h"
+#include "libbb.h"
void unpack_ar_archive(archive_handle_t *ar_archive)
{