From e3a5b8ae8441aff6024fbcca0a0e6eb433c987e0 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 9 Mar 1999 03:31:10 +0000 Subject: [PATCH] (get_boot_time): Reduce scope of #ifdef BOOT_TIME to only the part that uses get_boot_time_1. --- src/filelock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filelock.c b/src/filelock.c index 9ee09b4d072..429036f3305 100644 --- a/src/filelock.c +++ b/src/filelock.c @@ -110,7 +110,6 @@ extern Lisp_Object Vshell_file_name; static time_t get_boot_time () { -#ifdef BOOT_TIME struct utmp ut, *utp; int fd; EMACS_TIME time_before, after; @@ -166,6 +165,7 @@ get_boot_time () } #endif /* defined (CTL_KERN) && defined (KERN_BOOTTIME) */ +#ifdef BOOT_TIME /* Try to get boot time from the current wtmp file. */ get_boot_time_1 (WTMP_FILE); -- 2.39.2