- janitorial: include proper prototypes in libiproute.
This commit is contained in:
parent
7f77810633
commit
9a67ca309c
@ -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 },
|
||||
|
Loading…
Reference in New Issue
Block a user