From bd2f2872dd2c125d9200a0465cdeddaf8794e31f Mon Sep 17 00:00:00 2001
From: John Hodge <tpg@mutabah.net>
Date: Tue, 19 Jul 2011 18:31:37 +0800
Subject: [PATCH] Kernel - Oops, forgot to change the export definitions

---
 Kernel/include/vfs_ext.h                    | 4 ++--
 Usermode/Applications/axwin2_src/WM/video.c | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Kernel/include/vfs_ext.h b/Kernel/include/vfs_ext.h
index 4fe89233..26feb378 100644
--- a/Kernel/include/vfs_ext.h
+++ b/Kernel/include/vfs_ext.h
@@ -314,7 +314,7 @@ extern int VFS_Select(int MaxHandle, fd_set *ReadHandles, fd_set *WriteHandles,
  * \param FD	File descriptor to load from
  * \param Offset	Start of region
  */
-extern void	*VFS_MMap(int *ErrNo, void *DestHint, size_t Length, int Protection, int Flags, int FD, Uint64 Offset);
+extern void	*VFS_MMap(void *DestHint, size_t Length, int Protection, int Flags, int FD, Uint64 Offset);
 
 /**
  * \brief Unmap memory allocated by VFS_MMap
@@ -322,5 +322,5 @@ extern void	*VFS_MMap(int *ErrNo, void *DestHint, size_t Length, int Protection,
  * \param Addr	Address of data to unmap
  * \param Length	Length of data
  */
-extern int	VFS_MUnmap(int *ErrNo, void *Addr, size_t Length);
+extern int	VFS_MUnmap(void *Addr, size_t Length);
 #endif
diff --git a/Usermode/Applications/axwin2_src/WM/video.c b/Usermode/Applications/axwin2_src/WM/video.c
index 39ba1e51..7b3eb2fb 100644
--- a/Usermode/Applications/axwin2_src/WM/video.c
+++ b/Usermode/Applications/axwin2_src/WM/video.c
@@ -14,6 +14,8 @@ void	Video_FillRect(short X, short Y, short W, short H, uint32_t Color);
 void	Video_DrawRect(short X, short Y, short W, short H, uint32_t Color);
 
 // === GLOBALS ===
+ int	giVideo_CursorX;
+ int	giVideo_CursorY;
 
 // === CODE ===
 void Video_Setup(void)
-- 
GitLab