Page MenuHomeFreeBSD

D10058.diff
No OneTemporary

D10058.diff

Index: head/sys/boot/i386/libi386/pxe.c
===================================================================
--- head/sys/boot/i386/libi386/pxe.c
+++ head/sys/boot/i386/libi386/pxe.c
@@ -621,13 +621,6 @@
v86.ctl = V86_FLAGS;
}
-time_t
-getsecs(void)
-{
- time_t n = 0;
- time(&n);
- return n;
-}
static int
pxe_netif_match(struct netif *nif, void *machdep_hint)
Index: head/sys/boot/i386/libi386/time.c
===================================================================
--- head/sys/boot/i386/libi386/time.c
+++ head/sys/boot/i386/libi386/time.c
@@ -32,6 +32,7 @@
#include "bootstrap.h"
#include "libi386.h"
+time_t getsecs(void);
static int bios_seconds(void);
/*
@@ -91,6 +92,14 @@
return(now);
}
+time_t
+getsecs(void)
+{
+ time_t n = 0;
+ time(&n);
+ return n;
+}
+
/*
* Use the BIOS Wait function to pause for (period) microseconds.
*

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 6, 8:51 AM (25 m, 26 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30952949
Default Alt Text
D10058.diff (872 B)

Event Timeline