- janitorial: include proper prototypes in libiproute.
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)
| @@ -22,6 +22,7 @@ | |
| #include "rt_names.h" | |
| #include "utils.h" | |
| + | #include "ip_common.h" |
| #include "libbb.h" | |
| @@ -12,7 +12,10 @@ | |
| #include <arpa/inet.h> | |
| #include <string.h> | |
| #include <net/if_arp.h> | |
| + | |
| + | #include "rt_names.h" |
| #include "utils.h" | |
| + | |
| #include "libbb.h" | |
| const char *ll_addr_n2a(unsigned char *addr, int alen, int type, char *buf, int blen) | |
| @@ -12,6 +12,8 @@ | |
| #include <stdio.h> | |
| #include <arpa/inet.h> | |
| #include <string.h> | |
| + | |
| + | #include "rt_names.h" |
| #include "utils.h" | |
| #if __GLIBC__ >=2 && __GLIBC_MINOR >= 1 | |
| @@ -13,6 +13,8 @@ | |
| #include <linux/if_arp.h> | |
| + | #include "rt_names.h" |
| + | |
| const char * ll_type_n2a(int type, char *buf, int len) | |
| { | |
| #define __PF(f,n) { ARPHRD_##f, #n }, | |