# HG changeset patch # User Karl Heuer # Date 920950270 0 # Node ID 4e6a6d86b3af16898c7e255f9ba1911211134e02 # Parent 1544b0109c3b8aadc76be7831857999dc7623541 (get_boot_time): Reduce scope of #ifdef BOOT_TIME to only the part that uses get_boot_time_1. diff -r 1544b0109c3b -r 4e6a6d86b3af src/filelock.c --- a/src/filelock.c Tue Mar 09 03:29:04 1999 +0000 +++ b/src/filelock.c Tue Mar 09 03:31:10 1999 +0000 @@ -110,7 +110,6 @@ static time_t get_boot_time () { -#ifdef BOOT_TIME struct utmp ut, *utp; int fd; EMACS_TIME time_before, after; @@ -166,6 +165,7 @@ } #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);