diff options
author | Thomas Winischhofer <thomas@winischhofer.net> | 2005-02-14 19:07:41 +0000 |
---|---|---|
committer | Thomas Winischhofer <thomas@winischhofer.net> | 2005-02-14 19:07:41 +0000 |
commit | 291fc2d3ae3112b8f5d8a3836446da17d496b58c (patch) | |
tree | d032a032db4e5dcd43287a1f7cbd3b31c37b3ed0 /src | |
parent | 102152c143e1553431fcee8c7c37602fad617e30 (diff) |
Build fix for non-gcc compilers
Diffstat (limited to 'src')
-rw-r--r-- | src/sis_memcpy.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sis_memcpy.c b/src/sis_memcpy.c index ae7dc62..706d659 100644 --- a/src/sis_memcpy.c +++ b/src/sis_memcpy.c @@ -358,13 +358,14 @@ static void SiS_libc_memcpy(UChar *dst, const UChar *src, int size) #ifndef __GNUC__ -unsigned int SiSGetCPUFlags(ScreenPtr pScreen) +unsigned int SiSGetCPUFlags(ScrnInfoPtr pScrn) { return 0; } -vidCopyFunc SiSVidCopyInit(ScreenPtr pScreen) +vidCopyFunc SiSVidCopyInit(ScreenPtr pScreen, vidCopyFunc *UMemCpy) { + *UMemCpy = SiS_libc_memcpy; return SiS_libc_memcpy; } |