- janitorial: include proper prototypes in libiproute.

This commit is contained in:
Bernhard Reutner-Fischer 2006-04-02 21:14:19 +00:00
parent 7f77810633
commit 9a67ca309c
4 changed files with 8 additions and 0 deletions

View File

@ -22,6 +22,7 @@
#include "rt_names.h"
#include "utils.h"
#include "ip_common.h"
#include "libbb.h"

View File

@ -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)

View File

@ -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

View File

@ -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 },