mirror of
https://github.com/sheumann/telnetd.git
synced 2024-11-25 20:32:19 +00:00
Remove unneeded inclusion of <utmp.h> and dead variables.
git-svn-id: http://svn0.us-east.freebsd.org/base/head/contrib/telnet@201047 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
This commit is contained in:
parent
67287bcb77
commit
29b3953035
@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <sys/tty.h>
|
#include <sys/tty.h>
|
||||||
#include <libutil.h>
|
#include <libutil.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <utmp.h>
|
|
||||||
|
|
||||||
#include "telnetd.h"
|
#include "telnetd.h"
|
||||||
#include "pathnames.h"
|
#include "pathnames.h"
|
||||||
@ -55,19 +54,6 @@ __FBSDID("$FreeBSD$");
|
|||||||
int cleanopen(char *);
|
int cleanopen(char *);
|
||||||
void scrub_env(void);
|
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];
|
char *envinit[3];
|
||||||
extern char **environ;
|
extern char **environ;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user