summaryrefslogtreecommitdiff
path: root/src/mga_arc.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2005-04-20 12:25:28 +0000
committerDaniel Stone <daniel@fooishbar.org>2005-04-20 12:25:28 +0000
commit1b6392ffb792212016e710aaf27ffe36e5703d36 (patch)
tree7bc49e33508a701a9a570f06b0c3bc5f54e7363d /src/mga_arc.c
parent58e70eb5ef3b0a2d4ac2950c45670a660691b1f6 (diff)
change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h; change "foo.h", "extensions/foo.h" and "X11/foo.h" to <X11/extensions/foo.h> for extension headers, e.g. Xv.h; change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files.
Diffstat (limited to 'src/mga_arc.c')
-rw-r--r--src/mga_arc.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mga_arc.c b/src/mga_arc.c
index 5c9a9cb..aca9f26 100644
--- a/src/mga_arc.c
+++ b/src/mga_arc.c
@@ -23,15 +23,15 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
********************************************************/
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/mga/mga_arc.c,v 1.12 2003/07/16 03:08:37 dawes Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/mga/mga_arc.c,v 1.12tsi Exp $ */
-#include "X.h"
+#include <X11/X.h>
#include "gcstruct.h"
#include "windowstr.h"
#include "pixmapstr.h"
#include "regionstr.h"
-#include "Xprotostr.h"
+#include <X11/Xprotostr.h>
#include "regionstr.h"
#include "mizerarc.h"
#include "mi.h"
@@ -70,7 +70,8 @@ MGAZeroArc(
){
int yoffset, dyoffset, x, y, a, b, d, mask, k1, k3, dx, dy, tmp;
XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_GC(pGC);
- MGAPtr pMga = MGAPTR(infoRec->pScrn);
+ ScrnInfoPtr pScrn = infoRec->pScrn;
+ MGAPtr pMga = MGAPTR(pScrn);
miZeroArcRec info;
Bool do360;
DDXPointRec org, orgo;