summaryrefslogtreecommitdiffstats
path: root/hunt/huntd/faketalk.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-07-04 07:51:34 +0000
committerdholland <dholland@NetBSD.org>2009-07-04 07:51:34 +0000
commit1f35120ec096783ec21160ac00f22c0fb221a918 (patch)
treebd2d8e2eb38813444936bb8840bfa2cd94dc7bb2 /hunt/huntd/faketalk.c
parent2e8daf459306ea1d8374438d469f60aa0149aa32 (diff)
downloadbsdgames-darwin-1f35120ec096783ec21160ac00f22c0fb221a918.tar.gz
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/faketalk.c')
-rw-r--r--hunt/huntd/faketalk.c8
1 files changed, 2 insertions, 6 deletions
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;