* src/filelock.c (get_boot_sec):
Simplify by removing a special case for MS-DOS.
* src/msdos.c (get_boot_time): New dummy that always fails.
if (will_dump_p ())
return 0;
-#ifndef MSDOS
- {
- struct timespec boot_time;
- boot_time.tv_sec = 0;
- get_boot_time (&boot_time);
- return boot_time.tv_sec;
- }
-#else /* MSDOS */
- return 0;
-#endif /* MSDOS */
+ struct timespec boot_time;
+ boot_time.tv_sec = 0;
+ get_boot_time (&boot_time);
+ return boot_time.tv_sec;
}
\f
/* An arbitrary limit on lock contents length. 8 K should be plenty
}
#endif
+int
+get_boot_time (struct timespec *p_boot_time)
+{
+ return -1;
+}
+
static void
msdos_abort (void)
{