Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/xorg-server/dist/hw/xfree86 Add missing inclu...



details:   https://anonhg.NetBSD.org/xsrc/rev/8f9a97f03777
branches:  trunk
changeset: 10738:8f9a97f03777
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Jul 03 09:43:29 2021 +0000

description:
Add missing include of compiler.h and make all declarations of
IOPortBase consistent.

diffstat:

 external/mit/xorg-server/dist/hw/xfree86/common/compiler.h          |  2 +-
 external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/ppc_video.c |  1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 92d38ebcdac5 -r 8f9a97f03777 external/mit/xorg-server/dist/hw/xfree86/common/compiler.h
--- a/external/mit/xorg-server/dist/hw/xfree86/common/compiler.h        Fri Jul 02 19:31:47 2021 +0000
+++ b/external/mit/xorg-server/dist/hw/xfree86/common/compiler.h        Sat Jul 03 09:43:29 2021 +0000
@@ -525,7 +525,7 @@
 #define PORT_SIZE short
 #endif
 
-extern unsigned int IOPortBase;      /* Memory mapped I/O port area */
+extern unsigned PORT_SIZE IOPortBase;      /* Memory mapped I/O port area */
 
 static __inline__ void
 outb(unsigned PORT_SIZE port, unsigned char val)
diff -r 92d38ebcdac5 -r 8f9a97f03777 external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/ppc_video.c
--- a/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/ppc_video.c       Fri Jul 02 19:31:47 2021 +0000
+++ b/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/ppc_video.c       Sat Jul 03 09:43:29 2021 +0000
@@ -36,6 +36,7 @@
 #include "xf86_OSlib.h"
 #include "xf86OSpriv.h"
 
+#include "compiler.h"
 #include "bus/Pci.h"
 
 /***************************************************************************/



Home | Main Index | Thread Index | Old Index