Looks like a missed rename from the LX video support, and include string.h to get correct prototypes for memset().
commit 7125fcab372b24f7045bbdaa6d4f6e435b1f7a83 Author: Dan Williams <[EMAIL PROTECTED]> Date: Thu May 3 09:56:42 2007 -0400
Fix missed GXQueryImageAttributes->GeodeQueryImageAttributes diff --git a/src/amd_gx_video.c b/src/amd_gx_video.c index bede67b..86f2e07 100644 --- a/src/amd_gx_video.c +++ b/src/amd_gx_video.c @@ -104,8 +104,6 @@ static void GXQueryBestSize(ScrnInfoPtr, Bool, static int GXPutImage(ScrnInfoPtr, short, short, short, short, short, short, short, short, int, unsigned char *, short, short, Bool, RegionPtr, pointer, DrawablePtr pDraw); -static int GXQueryImageAttributes(ScrnInfoPtr, int, unsigned short *, - unsigned short *, int *, int *); static void GXBlockHandler(int, pointer, pointer, pointer); void GXSetVideoPosition(int x, int y, int width, int height, @@ -405,7 +403,7 @@ GXSetupImageVideo(ScreenPtr pScrn) adapt->GetPortAttribute = GXGetPortAttribute; adapt->QueryBestSize = GXQueryBestSize; adapt->PutImage = GXPutImage; - adapt->QueryImageAttributes = GXQueryImageAttributes; + adapt->QueryImageAttributes = GeodeQueryImageAttributes; pPriv->filter = 0; pPriv->colorKey = pGeode->videoKey;
commit 5f7979e990c5eafb44aa0fa9779a7ed3904d25ce Author: Dan Williams <[EMAIL PROTECTED]> Date: Thu May 3 10:05:17 2007 -0400 include string.h for memset diff --git a/src/amd_lx_driver.c b/src/amd_lx_driver.c index e78504b..f96a1bc 100644 --- a/src/amd_lx_driver.c +++ b/src/amd_lx_driver.c @@ -47,6 +47,7 @@ #endif #include <stdio.h> +#include <string.h> #include "xf86.h" #include "xf86_OSproc.h"
_______________________________________________ Devel mailing list Devel@laptop.org http://mailman.laptop.org/mailman/listinfo/devel