summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sessreg.c4
-rw-r--r--sessreg.h7
2 files changed, 0 insertions, 11 deletions
diff --git a/sessreg.c b/sessreg.c
index cc15869..43291eb 100644
--- a/sessreg.c
+++ b/sessreg.c
@@ -258,16 +258,12 @@ main (int argc, char **argv)
wtmpx_file = WTMPX_FILE;
#endif
}
-#ifndef NO_UTMP
if (!uflag) {
utmp_file = UTMP_FILE;
#if defined(USE_UTMPX) && defined(HAVE_UTMPXNAME)
utmpx_file = UTMPX_FILE;
#endif
}
-#else
- utmp_none = 1;
-#endif
#ifdef USE_LASTLOG
if (!Lflag)
llog_file = LLOG_FILE;
diff --git a/sessreg.h b/sessreg.h
index 0a0a209..71e93f1 100644
--- a/sessreg.h
+++ b/sessreg.h
@@ -75,13 +75,6 @@
# define USE_LASTLOG
#endif
-#ifdef CSRG_BASED
-#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
-/* *BSD doesn't like a ':0' type entry in utmp */
-#define NO_UTMP
-#endif
-#endif
-
#ifndef WTMP_FILE
# ifdef _PATH_WTMP
# define WTMP_FILE _PATH_WTMP