diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-04-05 16:21:37 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-04-05 16:21:37 +0000 |
commit | 0c6b68ee7628d02023885d1fc31a53197995f482 (patch) | |
tree | 00bbd3cfe2ad339355510b3e96c57d7f985f0674 | |
parent | 136989784d36fec6213475deeb731401e165f8e5 (diff) | |
download | busybox-w32-0c6b68ee7628d02023885d1fc31a53197995f482.tar.gz busybox-w32-0c6b68ee7628d02023885d1fc31a53197995f482.tar.bz2 busybox-w32-0c6b68ee7628d02023885d1fc31a53197995f482.zip |
- include proper headers.
git-svn-id: svn://busybox.net/trunk/busybox@14756 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | archival/libunarchive/seek_by_char.c | 19 | ||||
-rw-r--r-- | archival/libunarchive/unpack_ar_archive.c | 17 | ||||
-rw-r--r-- | libbb/messages.c | 1 | ||||
-rw-r--r-- | libpwdgrp/pwd_grp.c | 3 | ||||
-rw-r--r-- | libpwdgrp/pwd_grp_internal.c | 3 | ||||
-rw-r--r-- | networking/interface.c | 2 | ||||
-rw-r--r-- | networking/libiproute/ip_parse_common_args.c | 2 |
7 files changed, 14 insertions, 33 deletions
diff --git a/archival/libunarchive/seek_by_char.c b/archival/libunarchive/seek_by_char.c index 02874db51..81d5f8d7c 100644 --- a/archival/libunarchive/seek_by_char.c +++ b/archival/libunarchive/seek_by_char.c | |||
@@ -1,23 +1,14 @@ | |||
1 | /* vi:set ts=4:*/ | ||
1 | /* | 2 | /* |
2 | * This program is free software; you can redistribute it and/or modify | 3 | * 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 | */ | 4 | */ |
16 | 5 | ||
17 | #include <stdlib.h> | 6 | #include <stdlib.h> |
18 | 7 | ||
19 | #include "unarchive.h" | 8 | #include "unarchive.h" |
20 | #include "busybox.h" | 9 | #include "libbb.h" |
10 | |||
11 | |||
21 | 12 | ||
22 | /* If we are reading through a pipe(), or from stdin then we cant lseek, | 13 | /* If we are reading through a pipe(), or from stdin then we cant lseek, |
23 | * we must read and discard the data to skip over it. | 14 | * 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 7bb40af5b..15e56a468 100644 --- a/archival/libunarchive/unpack_ar_archive.c +++ b/archival/libunarchive/unpack_ar_archive.c | |||
@@ -1,23 +1,12 @@ | |||
1 | /* vi:set ts=4:*/ | ||
1 | /* | 2 | /* |
2 | * This program is free software; you can redistribute it and/or modify | 3 | * 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 | */ | 4 | */ |
16 | #include <fcntl.h> | 5 | #include <fcntl.h> |
17 | #include <stdlib.h> | 6 | #include <stdlib.h> |
18 | #include <string.h> | 7 | #include <string.h> |
19 | #include "unarchive.h" | 8 | #include "unarchive.h" |
20 | #include "busybox.h" | 9 | #include "libbb.h" |
21 | 10 | ||
22 | void unpack_ar_archive(archive_handle_t *ar_archive) | 11 | void unpack_ar_archive(archive_handle_t *ar_archive) |
23 | { | 12 | { |
diff --git a/libbb/messages.c b/libbb/messages.c index b9a5353a7..ab4c5d4b1 100644 --- a/libbb/messages.c +++ b/libbb/messages.c | |||
@@ -6,7 +6,6 @@ | |||
6 | * | 6 | * |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include "busybox.h" | ||
10 | #include "libbb.h" | 9 | #include "libbb.h" |
11 | 10 | ||
12 | #ifdef L_full_version | 11 | #ifdef L_full_version |
diff --git a/libpwdgrp/pwd_grp.c b/libpwdgrp/pwd_grp.c index f45c6317e..4f4e0410f 100644 --- a/libpwdgrp/pwd_grp.c +++ b/libpwdgrp/pwd_grp.c | |||
@@ -26,10 +26,11 @@ | |||
26 | #include <errno.h> | 26 | #include <errno.h> |
27 | #include <assert.h> | 27 | #include <assert.h> |
28 | #include <ctype.h> | 28 | #include <ctype.h> |
29 | #include "busybox.h" | 29 | |
30 | #include "pwd_.h" | 30 | #include "pwd_.h" |
31 | #include "grp_.h" | 31 | #include "grp_.h" |
32 | #include "shadow_.h" | 32 | #include "shadow_.h" |
33 | #include "libbb.h" | ||
33 | 34 | ||
34 | #ifndef _PATH_SHADOW | 35 | #ifndef _PATH_SHADOW |
35 | #define _PATH_SHADOW "/etc/shadow" | 36 | #define _PATH_SHADOW "/etc/shadow" |
diff --git a/libpwdgrp/pwd_grp_internal.c b/libpwdgrp/pwd_grp_internal.c index d2915c9ee..9cb1d306a 100644 --- a/libpwdgrp/pwd_grp_internal.c +++ b/libpwdgrp/pwd_grp_internal.c | |||
@@ -26,10 +26,11 @@ | |||
26 | #include <errno.h> | 26 | #include <errno.h> |
27 | #include <assert.h> | 27 | #include <assert.h> |
28 | #include <ctype.h> | 28 | #include <ctype.h> |
29 | #include "busybox.h" | 29 | |
30 | #include "pwd_.h" | 30 | #include "pwd_.h" |
31 | #include "grp_.h" | 31 | #include "grp_.h" |
32 | #include "shadow_.h" | 32 | #include "shadow_.h" |
33 | #include "libbb.h" | ||
33 | 34 | ||
34 | #ifndef _PATH_SHADOW | 35 | #ifndef _PATH_SHADOW |
35 | #define _PATH_SHADOW "/etc/shadow" | 36 | #define _PATH_SHADOW "/etc/shadow" |
diff --git a/networking/interface.c b/networking/interface.c index 5c1ee92cd..39fd44cc2 100644 --- a/networking/interface.c +++ b/networking/interface.c | |||
@@ -73,7 +73,7 @@ | |||
73 | #include <sys/types.h> | 73 | #include <sys/types.h> |
74 | #include <net/if.h> | 74 | #include <net/if.h> |
75 | #include <net/if_arp.h> | 75 | #include <net/if_arp.h> |
76 | #include "libbb.h" | 76 | #include "busybox.h" |
77 | 77 | ||
78 | #ifdef CONFIG_FEATURE_IPV6 | 78 | #ifdef CONFIG_FEATURE_IPV6 |
79 | # define HAVE_AFINET6 1 | 79 | # define HAVE_AFINET6 1 |
diff --git a/networking/libiproute/ip_parse_common_args.c b/networking/libiproute/ip_parse_common_args.c index a76df48e0..52e549ea2 100644 --- a/networking/libiproute/ip_parse_common_args.c +++ b/networking/libiproute/ip_parse_common_args.c | |||
@@ -16,10 +16,10 @@ | |||
16 | 16 | ||
17 | #include <string.h> | 17 | #include <string.h> |
18 | 18 | ||
19 | #include "libbb.h" | ||
19 | #include "utils.h" | 20 | #include "utils.h" |
20 | #include "ip_common.h" | 21 | #include "ip_common.h" |
21 | 22 | ||
22 | #include "busybox.h" | ||
23 | 23 | ||
24 | int preferred_family = AF_UNSPEC; | 24 | int preferred_family = AF_UNSPEC; |
25 | int oneline = 0; | 25 | int oneline = 0; |