From 700b0dc5148d0170c9223765d208ccef447242df Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 21 Sep 2004 18:10:34 +0000 Subject: Convert the ATI drivers to ANSI function prototypes. --- src/radeon_probe.h | 54 ++++++++++++++++++------------------------------------ 1 file changed, 18 insertions(+), 36 deletions(-) (limited to 'src/radeon_probe.h') 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_ */ -- cgit v1.2.3