summaryrefslogtreecommitdiff
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
parent465874f3a31da80c3fe444a425afbb840098de1c (diff)
downloadbusybox-fa939aae8178b1675e6fa118c7da05ae575f87cd.zip
busybox-fa939aae8178b1675e6fa118c7da05ae575f87cd.tar.gz
- include proper headers.
-rw-r--r--archival/libunarchive/seek_by_char.c19
-rw-r--r--archival/libunarchive/unpack_ar_archive.c17
-rw-r--r--libbb/messages.c1
-rw-r--r--libpwdgrp/pwd_grp.c3
-rw-r--r--libpwdgrp/pwd_grp_internal.c3
-rw-r--r--networking/interface.c2
-rw-r--r--networking/libiproute/ip_parse_common_args.c2
7 files changed, 14 insertions, 33 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)
{
diff --git a/libbb/messages.c b/libbb/messages.c
index b9a5353..ab4c5d4 100644
--- a/libbb/messages.c
+++ b/libbb/messages.c
@@ -6,7 +6,6 @@
*
*/
-#include "busybox.h"
#include "libbb.h"
#ifdef L_full_version
diff --git a/libpwdgrp/pwd_grp.c b/libpwdgrp/pwd_grp.c
index f45c631..4f4e041 100644
--- a/libpwdgrp/pwd_grp.c
+++ b/libpwdgrp/pwd_grp.c
@@ -26,10 +26,11 @@
#include <errno.h>
#include <assert.h>
#include <ctype.h>
-#include "busybox.h"
+
#include "pwd_.h"
#include "grp_.h"
#include "shadow_.h"
+#include "libbb.h"
#ifndef _PATH_SHADOW
#define _PATH_SHADOW "/etc/shadow"
diff --git a/libpwdgrp/pwd_grp_internal.c b/libpwdgrp/pwd_grp_internal.c
index d2915c9..9cb1d30 100644
--- a/libpwdgrp/pwd_grp_internal.c
+++ b/libpwdgrp/pwd_grp_internal.c
@@ -26,10 +26,11 @@
#include <errno.h>
#include <assert.h>
#include <ctype.h>
-#include "busybox.h"
+
#include "pwd_.h"
#include "grp_.h"
#include "shadow_.h"
+#include "libbb.h"
#ifndef _PATH_SHADOW
#define _PATH_SHADOW "/etc/shadow"
diff --git a/networking/interface.c b/networking/interface.c
index 5c1ee92..39fd44c 100644
--- a/networking/interface.c
+++ b/networking/interface.c
@@ -73,7 +73,7 @@
#include <sys/types.h>
#include <net/if.h>
#include <net/if_arp.h>
-#include "libbb.h"
+#include "busybox.h"
#ifdef CONFIG_FEATURE_IPV6
# define HAVE_AFINET6 1
diff --git a/networking/libiproute/ip_parse_common_args.c b/networking/libiproute/ip_parse_common_args.c
index a76df48..52e549e 100644
--- a/networking/libiproute/ip_parse_common_args.c
+++ b/networking/libiproute/ip_parse_common_args.c
@@ -16,10 +16,10 @@
#include <string.h>
+#include "libbb.h"
#include "utils.h"
#include "ip_common.h"
-#include "busybox.h"
int preferred_family = AF_UNSPEC;
int oneline = 0;