- Do not include <utmp.h> for no reason.
- Remove unneeded utmp path constant.
This commit is contained in:
parent
fcdc053233
commit
247ac241fa
@ -173,9 +173,6 @@ void putdumptime(void);
|
||||
|
||||
void sig(int signo);
|
||||
|
||||
#ifndef _PATH_UTMP
|
||||
#define _PATH_UTMP "/etc/utmp"
|
||||
#endif
|
||||
#ifndef _PATH_FSTAB
|
||||
#define _PATH_FSTAB "/etc/fstab"
|
||||
#endif
|
||||
|
@ -55,7 +55,6 @@ static const char rcsid[] =
|
||||
#include <stdarg.h>
|
||||
#include <signal.h>
|
||||
#include <unistd.h>
|
||||
#include <utmp.h>
|
||||
|
||||
#include "dump.h"
|
||||
#include "pathnames.h"
|
||||
|
Loading…
Reference in New Issue
Block a user