Move interface-related defines to interfaces.h so we don't have to include

<netinet/in.h> everywhere.
This commit is contained in:
Todd C. Miller
1999-05-17 01:36:30 +00:00
parent 850a52aa6f
commit 80287c981c
22 changed files with 109 additions and 108 deletions

View File

@@ -70,20 +70,12 @@
#include <net/if.h>
#include "sudo.h"
#include "version.h"
#include "interfaces.h"
#ifndef lint
static const char rcsid[] = "$Sudo$";
#endif /* lint */
/*
* Globals
*/
struct interface *interfaces;
int num_interfaces = 0;
extern int Argc;
extern char **Argv;
#if defined(SIOCGIFCONF) && !defined(STUB_LOAD_INTERFACES)
/**********************************************************************