diff options
author | bde <bde@FreeBSD.org> | 1995-12-10 01:20:17 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-12-10 01:20:17 +0000 |
commit | 3f53450677f3027cccce2533e8611a21220604a7 (patch) | |
tree | 959d7f22a7093b75b81e95f32f2fd1bde6a3dd2f /sys/net/if_tun.c | |
parent | 949b91d489c957f98a5bf94a5e203613db9bc03e (diff) | |
download | FreeBSD-src-3f53450677f3027cccce2533e8611a21220604a7.zip FreeBSD-src-3f53450677f3027cccce2533e8611a21220604a7.tar.gz |
Restored used variable `name[32]' (used by DEVFS).
Removed an `#ifdef __FreeBSD__'. Hundreds, if not thousands of other
FreeBSD-specific things aren't ifdefed.
Diffstat (limited to 'sys/net/if_tun.c')
-rw-r--r-- | sys/net/if_tun.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c index 7764be6..675995f 100644 --- a/sys/net/if_tun.c +++ b/sys/net/if_tun.c @@ -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); |