Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F176393662
D10058.id26428.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
714 B
Referenced Files
None
Subscribers
None
D10058.id26428.diff
View Options
Index: sys/boot/i386/libi386/pxe.c
===================================================================
--- sys/boot/i386/libi386/pxe.c
+++ 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: sys/boot/i386/libi386/time.c
===================================================================
--- sys/boot/i386/libi386/time.c
+++ sys/boot/i386/libi386/time.c
@@ -91,6 +91,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
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 19, 12:50 PM (19 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41051058
Default Alt Text
D10058.id26428.diff (714 B)
Attached To
Mode
D10058: loader: move bios getsecs into time.c
Attached
Detach File
Event Timeline
Log In to Comment