1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-25 07:40:40 -07:00

(get_boot_time): Reduce scope of #ifdef BOOT_TIME

to only the part that uses get_boot_time_1.
This commit is contained in:
Karl Heuer 1999-03-09 03:31:10 +00:00
parent e28a78f514
commit e3a5b8ae84

View file

@ -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);