veth: use kernel header file

Use santized kernel header for veth.h and put in correct place
to prevent possible future problems with API.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
This commit is contained in:
Stephen Hemminger 2007-12-21 09:37:30 -08:00
parent f9329ccaf9
commit c595fda55b
2 changed files with 8 additions and 9 deletions

View File

@ -1,5 +1,5 @@
#ifndef __NET_VETH_H__
#define __NET_VETH_H__
#ifndef __NET_VETH_H_
#define __NET_VETH_H_
enum {
VETH_INFO_UNSPEC,

View File

@ -11,12 +11,11 @@
*/
#include <string.h>
#include <net/if.h>
#include <net/veth.h>
#include "utils.h"
#include "ip_common.h"
#include "veth.h"
#define IFNAMSIZ 16
static void usage(void)
{