From 29b3953035762bb50460c0960bdaa09ddf227f98 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 27 Dec 2009 11:56:32 +0000 Subject: [PATCH] Remove unneeded inclusion of and dead variables. git-svn-id: http://svn0.us-east.freebsd.org/base/head/contrib/telnet@201047 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- telnetd/sys_term.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/telnetd/sys_term.c b/telnetd/sys_term.c index 7b2dbdb..498c342 100644 --- a/telnetd/sys_term.c +++ b/telnetd/sys_term.c @@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include "telnetd.h" #include "pathnames.h" @@ -55,19 +54,6 @@ __FBSDID("$FreeBSD$"); int cleanopen(char *); void scrub_env(void); -struct utmp wtmp; - -#ifdef _PATH_WTMP -char wtmpf[] = _PATH_WTMP; -#else -char wtmpf[] = "/var/log/wtmp"; -#endif -#ifdef _PATH_UTMP -char utmpf[] = _PATH_UTMP; -#else -char utmpf[] = "/var/run/utmp"; -#endif - char *envinit[3]; extern char **environ;