(get_boot_time_1): Put this in #ifdef BOOT_TIME.
authorRichard M. Stallman <rms@gnu.org>
Sun, 21 Feb 1999 19:57:34 +0000 (19:57 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 21 Feb 1999 19:57:34 +0000 (19:57 +0000)
src/filelock.c

index 39cfe68..fc00647 100644 (file)
@@ -191,6 +191,7 @@ get_boot_time ()
 #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 @@ get_boot_time_1 (filename)
     }
   endutent ();
 }
+#endif /* BOOT_TIME */
 \f
 /* Here is the structure that stores information about a lock.  */