Commit e3a5b8ae authored by Karl Heuer's avatar Karl Heuer
Browse files

(get_boot_time): Reduce scope of #ifdef BOOT_TIME

to only the part that uses get_boot_time_1.
parent e28a78f5
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment