diff options
author | dholland <dholland@NetBSD.org> | 2009-07-04 07:51:34 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-07-04 07:51:34 +0000 |
commit | 1f35120ec096783ec21160ac00f22c0fb221a918 (patch) | |
tree | bd2d8e2eb38813444936bb8840bfa2cd94dc7bb2 /hunt/huntd | |
parent | 2e8daf459306ea1d8374438d469f60aa0149aa32 (diff) | |
download | bsdgames-darwin-1f35120ec096783ec21160ac00f22c0fb221a918.tar.gz bsdgames-darwin-1f35120ec096783ec21160ac00f22c0fb221a918.tar.zst bsdgames-darwin-1f35120ec096783ec21160ac00f22c0fb221a918.zip |
Remove config options for 4.2BSD and 4.3BSD, and associated code. Highly
obsolete, and I doubt most of it still worked anyway.
Diffstat (limited to 'hunt/huntd')
-rw-r--r-- | hunt/huntd/bsd.h | 6 | ||||
-rw-r--r-- | hunt/huntd/faketalk.c | 8 | ||||
-rw-r--r-- | hunt/huntd/hunt.h | 9 |
3 files changed, 4 insertions, 19 deletions
diff --git a/hunt/huntd/bsd.h b/hunt/huntd/bsd.h index 6763cbf0..fbfed929 100644 --- a/hunt/huntd/bsd.h +++ b/hunt/huntd/bsd.h @@ -1,4 +1,4 @@ -/* $NetBSD: bsd.h,v 1.6 2009/07/04 06:31:31 dholland Exp $ */ +/* $NetBSD: bsd.h,v 1.7 2009/07/04 07:51:35 dholland Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. @@ -30,7 +30,3 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - -#if defined(BSD_RELEASE) && BSD_RELEASE >= 43 -#define BROADCAST -#endif diff --git a/hunt/huntd/faketalk.c b/hunt/huntd/faketalk.c index 6a8a531e..a9ae771e 100644 --- a/hunt/huntd/faketalk.c +++ b/hunt/huntd/faketalk.c @@ -1,4 +1,4 @@ -/* $NetBSD: faketalk.c,v 1.16 2009/07/04 06:38:35 dholland Exp $ */ +/* $NetBSD: faketalk.c,v 1.17 2009/07/04 07:51:35 dholland Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. * All rights reserved. @@ -32,7 +32,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: faketalk.c,v 1.16 2009/07/04 06:38:35 dholland Exp $"); +__RCSID("$NetBSD: faketalk.c,v 1.17 2009/07/04 07:51:35 dholland Exp $"); #endif /* not lint */ #include "bsd.h" @@ -214,11 +214,7 @@ do_announce(char *s) get_remote_name(s); /* setup his_machine_addr, msg.r_name */ #ifdef TALK_43 -#if BSD_RELEASE >= 44 msg.ctl_addr = *(struct osockaddr *) &ctl_addr; -#else - msg.ctl_addr = *(struct sockaddr *) &ctl_addr; -#endif msg.ctl_addr.sa_family = htons(msg.ctl_addr.sa_family); #else msg.ctl_addr = ctl_addr; diff --git a/hunt/huntd/hunt.h b/hunt/huntd/hunt.h index 49b8c0e5..021e6f81 100644 --- a/hunt/huntd/hunt.h +++ b/hunt/huntd/hunt.h @@ -1,4 +1,4 @@ -/* $NetBSD: hunt.h,v 1.17 2009/07/04 07:10:23 dholland Exp $ */ +/* $NetBSD: hunt.h,v 1.18 2009/07/04 07:51:35 dholland Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. @@ -40,12 +40,7 @@ #include <syslog.h> #endif -#if BSD_RELEASE < 44 -#include <sgtty.h> -#else #include <sys/ioctl.h> -#endif - #include <sys/types.h> #include <sys/uio.h> #include <sys/poll.h> @@ -54,9 +49,7 @@ #include <netinet/in.h> #include <netdb.h> #include <arpa/inet.h> -#ifdef BROADCAST #include <net/if.h> -#endif #else #include <sys/un.h> #endif |