- include proper headers.

This commit is contained in:
Bernhard Reutner-Fischer 2006-04-05 16:21:37 +00:00
parent 465874f3a3
commit fa939aae81
7 changed files with 14 additions and 33 deletions

View File

@ -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.

View File

@ -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)
{

View File

@ -6,7 +6,6 @@
*
*/
#include "busybox.h"
#include "libbb.h"
#ifdef L_full_version

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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;