- include proper headers.
This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)
No binary (build failed)
—
(log yok)
| @@ -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. | |
| @@ -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) | |
| { | |
| @@ -6,7 +6,6 @@ | |
| * | |
| */ | |
| - | #include "busybox.h" |
| #include "libbb.h" | |
| #ifdef L_full_version | |
| @@ -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" | |
| @@ -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" | |
| @@ -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 | |
| @@ -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; | |