summaryrefslogtreecommitdiff
path: root/src/atii2c.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2004-09-21 18:10:34 +0000
committerAdam Jackson <ajax@nwnk.net>2004-09-21 18:10:34 +0000
commit700b0dc5148d0170c9223765d208ccef447242df (patch)
treedbf30c806c713c0b813fdc74ace9777ea4b0bbc4 /src/atii2c.h
parent17e5f3c1169066be1004306d12b5398cf01cbd35 (diff)
Convert the ATI drivers to ANSI function prototypes.
Diffstat (limited to 'src/atii2c.h')
-rw-r--r--src/atii2c.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/atii2c.h b/src/atii2c.h
index ddc0d977..59125bf9 100644
--- a/src/atii2c.h
+++ b/src/atii2c.h
@@ -1,6 +1,6 @@
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/atii2c.h,v 1.1 2003/07/24 22:08:28 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
@@ -25,7 +25,6 @@
#define ___ATII2C_H___ 1
#include "atipriv.h"
-#include "atiproto.h"
#include "xf86str.h"
@@ -36,15 +35,15 @@ typedef struct _ATII2CRec ATII2CRec, *ATII2CPtr;
struct _ATII2CRec
{
ATIPtr pATI;
- void (*I2CSetBits) FunctionPrototype((ATII2CPtr, ATIPtr, CARD32));
- CARD32 (*I2CGetBits) FunctionPrototype((ATIPtr));
+ void (*I2CSetBits) (ATII2CPtr, ATIPtr, CARD32);
+ CARD32 (*I2CGetBits) (ATIPtr);
CARD32 SCLDir, SCLGet, SCLSet;
CARD32 SDADir, SDAGet, SDASet;
CARD32 I2CCur;
};
-extern void ATII2CPreInit FunctionPrototype((ScrnInfoPtr, ATIPtr));
-extern I2CBusPtr ATICreateI2CBusRec FunctionPrototype((int, ATIPtr, char *));
-extern void ATII2CFreeScreen FunctionPrototype((int));
+extern void ATII2CPreInit(ScrnInfoPtr, ATIPtr);
+extern I2CBusPtr ATICreateI2CBusRec(int, ATIPtr, char *);
+extern void ATII2CFreeScreen(int);
#endif /* ___ATII2C_H___ */