From: Karl Heuer Date: Tue, 9 Mar 1999 03:31:10 +0000 (+0000) Subject: (get_boot_time): Reduce scope of #ifdef BOOT_TIME X-Git-Tag: emacs-20.4~490 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e3a5b8ae8441aff6024fbcca0a0e6eb433c987e0;p=emacs.git (get_boot_time): Reduce scope of #ifdef BOOT_TIME to only the part that uses get_boot_time_1. --- 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);