← Commit list

9a67ca309

Bernhard Reutner-Fischer
Bernhard Reutner-Fischer
2006-04-02
SOURCE BUG Duration: 10s

Subject

- janitorial: include proper prototypes in libiproute.

SOURCE BUG

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)

→ Bu hatanin tam hikayesini ve duzeltme diffini gor

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/libiproute/iproute.c+1 -0
@@ -22,6 +22,7 @@
#include "rt_names.h"
#include "utils.h"
+#include "ip_common.h"
#include "libbb.h"
networking/libiproute/ll_addr.c+3 -0
@@ -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)
networking/libiproute/ll_proto.c+2 -0
@@ -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
networking/libiproute/ll_types.c+2 -0
@@ -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 },