summaryrefslogtreecommitdiff
path: root/src/radeon_probe.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/radeon_probe.h
parent17e5f3c1169066be1004306d12b5398cf01cbd35 (diff)
Convert the ATI drivers to ANSI function prototypes.
Diffstat (limited to 'src/radeon_probe.h')
-rw-r--r--src/radeon_probe.h54
1 files changed, 18 insertions, 36 deletions
diff --git a/src/radeon_probe.h b/src/radeon_probe.h
index a104cbc9..7e0276af 100644
--- a/src/radeon_probe.h
+++ b/src/radeon_probe.h
@@ -37,8 +37,6 @@
#ifndef _RADEON_PROBE_H_
#define _RADEON_PROBE_H_ 1
-#include "atiproto.h"
-
#include "xf86str.h"
#include "xf86DDC.h"
@@ -139,46 +137,30 @@ typedef struct
} RADEONEntRec, *RADEONEntPtr;
/* radeon_probe.c */
-extern const OptionInfoRec *RADEONAvailableOptions
- FunctionPrototype((int, int));
-extern void RADEONIdentify
- FunctionPrototype((int));
-extern Bool RADEONProbe
- FunctionPrototype((DriverPtr, int));
+extern const OptionInfoRec *RADEONAvailableOptions(int, int);
+extern void RADEONIdentify(int);
+extern Bool RADEONProbe(DriverPtr, int);
extern SymTabRec RADEONChipsets[];
extern PciChipsets RADEONPciChipsets[];
/* radeon_driver.c */
-extern void RADEONLoaderRefSymLists
- FunctionPrototype((void));
-extern Bool RADEONPreInit
- FunctionPrototype((ScrnInfoPtr, int));
-extern Bool RADEONScreenInit
- FunctionPrototype((int, ScreenPtr, int, char **));
-extern Bool RADEONSwitchMode
- FunctionPrototype((int, DisplayModePtr, int));
+extern void RADEONLoaderRefSymLists(void);
+extern Bool RADEONPreInit(ScrnInfoPtr, int);
+extern Bool RADEONScreenInit(int, ScreenPtr, int, char **);
+extern Bool RADEONSwitchMode(int, DisplayModePtr, int);
#ifdef X_XF86MiscPassMessage
-extern Bool RADEONHandleMessage
- FunctionPrototype((int, const char*, const char*,
- char**));
+extern Bool RADEONHandleMessage(int, const char*, const char*,
+ char**);
#endif
-extern void RADEONAdjustFrame
- FunctionPrototype((int, int, int, int));
-extern Bool RADEONEnterVT
- FunctionPrototype((int, int));
-extern void RADEONLeaveVT
- FunctionPrototype((int, int));
-extern void RADEONFreeScreen
- FunctionPrototype((int, int));
-extern ModeStatus RADEONValidMode
- FunctionPrototype((int, DisplayModePtr, Bool,
- int));
-
-extern const OptionInfoRec *RADEONOptionsWeak
- FunctionPrototype((void));
-
-extern void RADEONFillInScreenInfo
- FunctionPrototype((ScrnInfoPtr));
+extern void RADEONAdjustFrame(int, int, int, int);
+extern Bool RADEONEnterVT(int, int);
+extern void RADEONLeaveVT(int, int);
+extern void RADEONFreeScreen(int, int);
+extern ModeStatus RADEONValidMode(int, DisplayModePtr, Bool, int);
+
+extern const OptionInfoRec *RADEONOptionsWeak(void);
+
+extern void RADEONFillInScreenInfo(ScrnInfoPtr);
#endif /* _RADEON_PROBE_H_ */