summaryrefslogtreecommitdiff
path: root/sessreg.c
diff options
context:
space:
mode:
Diffstat (limited to 'sessreg.c')
-rw-r--r--sessreg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sessreg.c b/sessreg.c
index 0393628..4d8acbe 100644
--- a/sessreg.c
+++ b/sessreg.c
@@ -188,11 +188,12 @@ main (int argc, char **argv)
int utmp;
#endif
char *line_tmp;
+#ifndef USE_UTMPX
int wtmp;
+#endif
Time_t current_time;
struct utmp utmp_entry;
#ifdef USE_UTMPX
- int wtmpx;
struct utmpx utmpx_entry;
#endif