diff options
author | Adam Jackson <ajax@nwnk.net> | 2004-09-21 18:10:34 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2004-09-21 18:10:34 +0000 |
commit | 700b0dc5148d0170c9223765d208ccef447242df (patch) | |
tree | dbf30c806c713c0b813fdc74ace9777ea4b0bbc4 /src/atimach64xv.c | |
parent | 17e5f3c1169066be1004306d12b5398cf01cbd35 (diff) |
Convert the ATI drivers to ANSI function prototypes.
Diffstat (limited to 'src/atimach64xv.c')
-rw-r--r-- | src/atimach64xv.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/atimach64xv.c b/src/atimach64xv.c index d45e306b..7b109f61 100644 --- a/src/atimach64xv.c +++ b/src/atimach64xv.c @@ -1,6 +1,6 @@ -/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/atimach64xv.c,v 1.6 2003/07/19 15:26:54 tsi Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/atimach64xv.c,v 1.7 2003/11/10 18:22:18 tsi Exp $ */ /* - * Copyright 2003 by Marc Aurele La France (TSI @ UQV), tsi@xfree86.org + * Copyright 2003 through 2004 by Marc Aurele La France (TSI @ UQV), tsi@xfree86.org * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -150,8 +150,8 @@ typedef struct _ATIMach64Attribute { Atom AttributeID; INT32 MaxValue; /* ... for the hardware */ - void (*SetAttribute) NestedPrototype((ATIPtr, INT32)); - INT32 (*GetAttribute) NestedPrototype((ATIPtr)); + void (*SetAttribute) (ATIPtr, INT32); + INT32 (*GetAttribute) (ATIPtr); } ATIMach64AttributeRec, *ATIMach64AttributePtr; /* Functions to get/set XVideo adaptor attributes */ @@ -1438,7 +1438,7 @@ ATIMach64XVInitialiseAdaptor pAdaptor->PutImage = ATIMach64PutImage; pAdaptor->QueryImageAttributes = ATIMach64QueryImageAttributes; - REGION_INIT(pScreen, &pATI->VideoClip, NullBox, 0); + REGION_NULL(pScreen, &pATI->VideoClip); pATI->ActiveSurface = FALSE; if (ATIMach64XVAtomGeneration != serverGeneration) |