Restored used variable `name[32]' (used by DEVFS).

Removed an `#ifdef __FreeBSD__'.  Hundreds, if not thousands of other
FreeBSD-specific things aren't ifdefed.
This commit is contained in:
bde 1995-12-10 01:20:17 +00:00
parent 949b91d489
commit 3f53450677

View File

@ -64,11 +64,8 @@
#include <net/if_tun.h>
#ifdef __FreeBSD__
static void tunattach __P((void *));
PSEUDO_SET(tunattach, if_tun);
#endif
#define TUNDEBUG if (tundebug) printf
static int tundebug = 0;
@ -108,6 +105,9 @@ tunattach(dummy)
register int i;
struct ifnet *ifp;
dev_t dev;
#ifdef DEVFS
char name[32];
#endif
if( tun_devsw_installed ) return;
dev = makedev(CDEV_MAJOR, 0);