mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
Remove unneeded inclusion of <utmp.h> and dead variables.
This commit is contained in:
parent
2082ecd966
commit
cea2194d9c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=201047
|
@ -43,7 +43,6 @@ __FBSDID("$FreeBSD$");
|
|||
#include <sys/tty.h>
|
||||
#include <libutil.h>
|
||||
#include <stdlib.h>
|
||||
#include <utmp.h>
|
||||
|
||||
#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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue