aboutsummaryrefslogtreecommitdiff
path: root/sbin/dump
diff options
context:
space:
mode:
authorRobert Drehmel <robert@FreeBSD.org>2002-07-08 09:02:02 +0000
committerRobert Drehmel <robert@FreeBSD.org>2002-07-08 09:02:02 +0000
commit247ac241fae316463e58fec9a19168148934c3e1 (patch)
tree57bca3342b10e0a0983f84a4d68f763539b570bb /sbin/dump
parentfcdc053233be30b388d60e5d421fcc71937b2b4a (diff)
downloadsrc-247ac241fae316463e58fec9a19168148934c3e1.tar.gz
src-247ac241fae316463e58fec9a19168148934c3e1.zip
- Do not include <utmp.h> for no reason.
- Remove unneeded utmp path constant.
Notes
Notes: svn path=/head/; revision=99579
Diffstat (limited to 'sbin/dump')
-rw-r--r--sbin/dump/dump.h3
-rw-r--r--sbin/dump/optr.c1
2 files changed, 0 insertions, 4 deletions
diff --git a/sbin/dump/dump.h b/sbin/dump/dump.h
index cd84596933e3..d6807c6c0923 100644
--- a/sbin/dump/dump.h
+++ b/sbin/dump/dump.h
@@ -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
diff --git a/sbin/dump/optr.c b/sbin/dump/optr.c
index 5fa1a02eee9b..53b574168740 100644
--- a/sbin/dump/optr.c
+++ b/sbin/dump/optr.c
@@ -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"