changeset 24369:8cbfa7848416

(get_boot_time_1): Put this in #ifdef BOOT_TIME.
author Richard M. Stallman <rms@gnu.org>
date Sun, 21 Feb 1999 19:57:34 +0000
parents d4edd0f4edfa
children fa97a69b1d3c
files src/filelock.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/filelock.c	Sun Feb 21 19:56:08 1999 +0000
+++ b/src/filelock.c	Sun Feb 21 19:57:34 1999 +0000
@@ -191,6 +191,7 @@
 #endif
 }
 
+#ifdef BOOT_TIME
 /* Try to get the boot time from wtmp file FILENAME.
    This succeeds if that file contains a reboot record.
    Success is indicated by setting BOOT_TIME.  */
@@ -220,6 +221,7 @@
     }
   endutent ();
 }
+#endif /* BOOT_TIME */
 
 /* Here is the structure that stores information about a lock.  */