aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1999-03-09 03:31:10 +0000
committerKarl Heuer1999-03-09 03:31:10 +0000
commite3a5b8ae8441aff6024fbcca0a0e6eb433c987e0 (patch)
tree8ed45881a8f27c997b4361ff8ac7aeb47d3e601e /src
parente28a78f514b1f6cc8edc2cdca46c12793e03f26b (diff)
downloademacs-e3a5b8ae8441aff6024fbcca0a0e6eb433c987e0.tar.gz
emacs-e3a5b8ae8441aff6024fbcca0a0e6eb433c987e0.zip
(get_boot_time): Reduce scope of #ifdef BOOT_TIME
to only the part that uses get_boot_time_1.
Diffstat (limited to 'src')
-rw-r--r--src/filelock.c2
1 files changed, 1 insertions, 1 deletions
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;
110static time_t 110static time_t
111get_boot_time () 111get_boot_time ()
112{ 112{
113#ifdef BOOT_TIME
114 struct utmp ut, *utp; 113 struct utmp ut, *utp;
115 int fd; 114 int fd;
116 EMACS_TIME time_before, after; 115 EMACS_TIME time_before, after;
@@ -166,6 +165,7 @@ get_boot_time ()
166 } 165 }
167#endif /* defined (CTL_KERN) && defined (KERN_BOOTTIME) */ 166#endif /* defined (CTL_KERN) && defined (KERN_BOOTTIME) */
168 167
168#ifdef BOOT_TIME
169 /* Try to get boot time from the current wtmp file. */ 169 /* Try to get boot time from the current wtmp file. */
170 get_boot_time_1 (WTMP_FILE); 170 get_boot_time_1 (WTMP_FILE);
171 171