From 69b97990b05952dc6fc8c1c24d1f0f729ba9f853 Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Wed, 7 Nov 2018 16:26:23 +0000 Subject: [PATCH] Fix prototypes for x87_read/write_environment. (cherry picked from commit 418c23c14e4aeefee3d6d4ec7788ffde1d88c724) --- src/microcode/cmpintmd/x86-fenv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/microcode/cmpintmd/x86-fenv.c b/src/microcode/cmpintmd/x86-fenv.c index 9022b2c49..a2e33d1e1 100644 --- a/src/microcode/cmpintmd/x86-fenv.c +++ b/src/microcode/cmpintmd/x86-fenv.c @@ -34,8 +34,8 @@ extern unsigned short x87_read_control_word (void); extern void x87_write_control_word (unsigned short); extern unsigned short x87_read_status_word (void); /* extern void x87_write_status_word (unsigned short); No f(n)stsw. */ -extern void x87_read_environment (unsigned char *); -extern void x87_write_environment (const unsigned char *); +extern void x87_read_environment (struct x87_fenv *); +extern void x87_write_environment (const struct x87_fenv *); #ifndef x87_p # ifdef HAVE_X87 -- 2.25.1