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:
parent
e28a78f514
commit
e3a5b8ae84
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue