summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/npx.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2017-02-09 04:45:18 +0000
committerkib <kib@FreeBSD.org>2017-02-09 04:45:18 +0000
commita1e52233c91fd46e666297270ab655f1abff8535 (patch)
tree3f71dd5473e9146f8574257c4eb7d0c6b23fecbe /sys/i386/isa/npx.c
parente0649435212ea9f3990e6b506ea884644fb0cb11 (diff)
downloadFreeBSD-src-a1e52233c91fd46e666297270ab655f1abff8535.zip
FreeBSD-src-a1e52233c91fd46e666297270ab655f1abff8535.tar.gz
MFC r313109:
Use ANSI definitions for some i386 functions.
Diffstat (limited to 'sys/i386/isa/npx.c')
-rw-r--r--sys/i386/isa/npx.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c
index dff0f5c..bc42bbb 100644
--- a/sys/i386/isa/npx.c
+++ b/sys/i386/isa/npx.c
@@ -559,8 +559,7 @@ SYSINIT(npxinitstate, SI_SUB_DRIVERS, SI_ORDER_ANY, npxinitstate, NULL);
* Free coprocessor (if we have it).
*/
void
-npxexit(td)
- struct thread *td;
+npxexit(struct thread *td)
{
critical_enter();
@@ -590,7 +589,7 @@ npxexit(td)
}
int
-npxformat()
+npxformat(void)
{
if (!hw_float)
@@ -970,7 +969,7 @@ npxresume(union savefpu *addr)
}
void
-npxdrop()
+npxdrop(void)
{
struct thread *td;
@@ -1203,8 +1202,7 @@ fpu_clean_state(void)
#endif /* CPU_ENABLE_SSE */
static void
-fpurstor(addr)
- union savefpu *addr;
+fpurstor(union savefpu *addr)
{
#ifdef CPU_ENABLE_SSE
OpenPOWER on IntegriCloud