summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2008-08-23 10:41:00 -0700
committerAaron Plattner <aplattner@nvidia.com>2008-08-23 23:39:08 -0700
commitff32eb25f8edde7343da3d4782f0f59896515ebd (patch)
treee997b7e45c74a24aa4419e5408123d51a4bf01e7
parentc2128e5a8682e407b37f88c67a1709309247fc5d (diff)
Fix warnings.
-rw-r--r--src/g80_output.c1
-rw-r--r--src/g80_xaa.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/g80_output.c b/src/g80_output.c
index 140f3c8..e906fbb 100644
--- a/src/g80_output.c
+++ b/src/g80_output.c
@@ -451,7 +451,6 @@ G80CreateOutputs(ScrnInfoPtr pScrn)
pPriv->scale = G80_SCALE_ASPECT;
if(pNv->lvds.i2cPort != -1) {
- I2CBusPtr i2c;
char i2cName[16];
snprintf(i2cName, sizeof(i2cName), "I2C%i (LVDS)", pNv->lvds.i2cPort);
diff --git a/src/g80_xaa.c b/src/g80_xaa.c
index bcacbb4..0a3c1b3 100644
--- a/src/g80_xaa.c
+++ b/src/g80_xaa.c
@@ -95,7 +95,7 @@ G80SetRopSolid(G80Ptr pNv, CARD32 rop, CARD32 planemask)
}
}
-void inline
+inline void
G80SetClip(G80Ptr pNv, int x, int y, int w, int h)
{
G80DmaStart(pNv, 0x280, 4);