aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1999-02-21 19:57:34 +0000
committerRichard M. Stallman1999-02-21 19:57:34 +0000
commite9f22ced2f4b2aa757b17c546df036095498a624 (patch)
treee1b67a4022c0ba4d1c5f6cd89b20c3eed632d5b2 /src
parent8c29413d718ee9bfb3e281b456f564915381e395 (diff)
downloademacs-e9f22ced2f4b2aa757b17c546df036095498a624.tar.gz
emacs-e9f22ced2f4b2aa757b17c546df036095498a624.zip
(get_boot_time_1): Put this in #ifdef BOOT_TIME.
Diffstat (limited to 'src')
-rw-r--r--src/filelock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/filelock.c b/src/filelock.c
index 39cfe68c8fd..fc00647baba 100644
--- a/src/filelock.c
+++ b/src/filelock.c
@@ -191,6 +191,7 @@ get_boot_time ()
191#endif 191#endif
192} 192}
193 193
194#ifdef BOOT_TIME
194/* Try to get the boot time from wtmp file FILENAME. 195/* Try to get the boot time from wtmp file FILENAME.
195 This succeeds if that file contains a reboot record. 196 This succeeds if that file contains a reboot record.
196 Success is indicated by setting BOOT_TIME. */ 197 Success is indicated by setting BOOT_TIME. */
@@ -220,6 +221,7 @@ get_boot_time_1 (filename)
220 } 221 }
221 endutent (); 222 endutent ();
222} 223}
224#endif /* BOOT_TIME */
223 225
224/* Here is the structure that stores information about a lock. */ 226/* Here is the structure that stores information about a lock. */
225 227