Fixed some errors in function prototypes.

This commit is contained in:
Eric Pouech 2004-12-13 21:19:01 +00:00 committed by Alexandre Julliard
parent 7572b125b5
commit 4056d7ef8c
34 changed files with 80 additions and 83 deletions

View File

@ -81,7 +81,7 @@ static const BYTE bitmap_bits[48*48/8] =
ROW48(0,0,0,0,0,0,0,0,0,0,0,0) ROW48(0,0,0,0,0,0,0,0,0,0,0,0)
}; };
static HIMAGELIST createImageList(cx, cy) static HIMAGELIST createImageList(int cx, int cy)
{ {
/* Create an ImageList and put an image into it */ /* Create an ImageList and put an image into it */
HIMAGELIST himl = ImageList_Create(cx, cy, ILC_COLOR, 1, 1); HIMAGELIST himl = ImageList_Create(cx, cy, ILC_COLOR, 1, 1);

View File

@ -44,7 +44,7 @@ static const WCHAR wszActiveMovieKey[] = {'S','o','f','t','w','a','r','e','\\',
'd','e','v','e','n','u','m','\\',0}; 'd','e','v','e','n','u','m','\\',0};
static ULONG WINAPI DEVENUM_ICreateDevEnum_AddRef(ICreateDevEnum * iface); static ULONG WINAPI DEVENUM_ICreateDevEnum_AddRef(ICreateDevEnum * iface);
static HRESULT DEVENUM_CreateSpecialCategories(); static HRESULT DEVENUM_CreateSpecialCategories(void);
/********************************************************************** /**********************************************************************
* DEVENUM_ICreateDevEnum_QueryInterface (also IUnknown) * DEVENUM_ICreateDevEnum_QueryInterface (also IUnknown)

View File

@ -81,7 +81,7 @@ typedef struct
HKEY hkey; HKEY hkey;
} MediaCatMoniker; } MediaCatMoniker;
MediaCatMoniker * DEVENUM_IMediaCatMoniker_Construct(); MediaCatMoniker * DEVENUM_IMediaCatMoniker_Construct(void);
HRESULT DEVENUM_IEnumMoniker_Construct(HKEY hkey, IEnumMoniker ** ppEnumMoniker); HRESULT DEVENUM_IEnumMoniker_Construct(HKEY hkey, IEnumMoniker ** ppEnumMoniker);
HRESULT WINAPI DEVENUM_ICreateDevEnum_CreateClassEnumerator( HRESULT WINAPI DEVENUM_ICreateDevEnum_CreateClassEnumerator(
ICreateDevEnum * iface, ICreateDevEnum * iface,

View File

@ -52,7 +52,7 @@ static const unsigned int formats[][4]={
extern char* wave_generate_la(WAVEFORMATEX*,double,DWORD*); extern char* wave_generate_la(WAVEFORMATEX*,double,DWORD*);
extern HWND get_hwnd(); extern HWND get_hwnd(void);
extern void init_format(WAVEFORMATEX*,int,int,int,int); extern void init_format(WAVEFORMATEX*,int,int,int,int);
extern void test_buffer(LPDIRECTSOUND,LPDIRECTSOUNDBUFFER, extern void test_buffer(LPDIRECTSOUND,LPDIRECTSOUNDBUFFER,
BOOL,BOOL,LONG,BOOL,LONG,BOOL,double,BOOL, BOOL,BOOL,LONG,BOOL,LONG,BOOL,double,BOOL,

View File

@ -146,8 +146,8 @@ int WINAPI wine_gluBuild2DMipmaps(int arg0,int arg1,int arg2,int arg3,int arg4,i
/*********************************************************************** /***********************************************************************
* gluNewQuadric (GLU32.@) * gluNewQuadric (GLU32.@)
*/ */
extern int gluNewQuadric(); extern int gluNewQuadric(void);
int WINAPI wine_gluNewQuadric() { int WINAPI wine_gluNewQuadric(void) {
return gluNewQuadric(); return gluNewQuadric();
} }
@ -234,8 +234,8 @@ int WINAPI wine_gluPartialDisk(void *arg0,double arg1,double arg2,int arg3,int a
/*********************************************************************** /***********************************************************************
* gluNewNurbsRenderer (GLU32.@) * gluNewNurbsRenderer (GLU32.@)
*/ */
extern int gluNewNurbsRenderer(); extern int gluNewNurbsRenderer(void);
int WINAPI wine_gluNewNurbsRenderer() { int WINAPI wine_gluNewNurbsRenderer(void) {
return gluNewNurbsRenderer(); return gluNewNurbsRenderer();
} }

View File

@ -54,7 +54,7 @@
static HANDLE alarm_event; static HANDLE alarm_event;
static void test_CreateNamedPipe(pipemode) static void test_CreateNamedPipe(int pipemode)
{ {
HANDLE hnp; HANDLE hnp;
HANDLE hFile; HANDLE hFile;

View File

@ -155,7 +155,7 @@ DWORD WINAPI threadFunc5(LPVOID p)
#endif #endif
/* Check basic funcationality of CreateThread and Tls* functions */ /* Check basic funcationality of CreateThread and Tls* functions */
VOID test_CreateThread_basic() VOID test_CreateThread_basic(void)
{ {
HANDLE thread[NUM_THREADS],event[NUM_THREADS]; HANDLE thread[NUM_THREADS],event[NUM_THREADS];
DWORD threadid[NUM_THREADS],curthreadId; DWORD threadid[NUM_THREADS],curthreadId;
@ -217,7 +217,7 @@ VOID test_CreateThread_basic()
} }
/* Check that using the CREATE_SUSPENDED flag works */ /* Check that using the CREATE_SUSPENDED flag works */
VOID test_CreateThread_suspended() VOID test_CreateThread_suspended(void)
{ {
HANDLE thread; HANDLE thread;
DWORD threadId; DWORD threadId;
@ -246,7 +246,7 @@ VOID test_CreateThread_suspended()
} }
/* Check that SuspendThread and ResumeThread work */ /* Check that SuspendThread and ResumeThread work */
VOID test_SuspendThread() VOID test_SuspendThread(void)
{ {
HANDLE thread,access_thread; HANDLE thread,access_thread;
DWORD threadId,exitCode,error; DWORD threadId,exitCode,error;
@ -303,12 +303,10 @@ VOID test_SuspendThread()
/* Check that TerminateThread works properly /* Check that TerminateThread works properly
*/ */
VOID test_TerminateThread() VOID test_TerminateThread(void)
{ {
HANDLE thread,access_thread,event; HANDLE thread,access_thread,event;
DWORD threadId,exitCode; DWORD threadId,exitCode;
int i,error;
i=0; error=0;
event=CreateEventA(NULL,TRUE,FALSE,NULL); event=CreateEventA(NULL,TRUE,FALSE,NULL);
thread = CreateThread(NULL,0,threadFunc4, thread = CreateThread(NULL,0,threadFunc4,
(LPVOID)event, 0,&threadId); (LPVOID)event, 0,&threadId);
@ -344,7 +342,7 @@ VOID test_TerminateThread()
/* Check if CreateThread obeys the specified stack size. This code does /* Check if CreateThread obeys the specified stack size. This code does
not work properly, and is currently disabled not work properly, and is currently disabled
*/ */
VOID test_CreateThread_stack() VOID test_CreateThread_stack(void)
{ {
#if CHECK_STACK #if CHECK_STACK
/* The only way I know of to test the stack size is to use alloca /* The only way I know of to test the stack size is to use alloca
@ -371,7 +369,7 @@ VOID test_CreateThread_stack()
} }
/* Check whether setting/retrieving thread priorities works */ /* Check whether setting/retrieving thread priorities works */
VOID test_thread_priority() VOID test_thread_priority(void)
{ {
HANDLE curthread,access_thread; HANDLE curthread,access_thread;
DWORD curthreadId,exitCode; DWORD curthreadId,exitCode;
@ -457,7 +455,7 @@ VOID test_thread_priority()
} }
/* check the GetThreadTimes function */ /* check the GetThreadTimes function */
VOID test_GetThreadTimes() VOID test_GetThreadTimes(void)
{ {
HANDLE thread,access_thread=NULL; HANDLE thread,access_thread=NULL;
FILETIME creationTime,exitTime,kernelTime,userTime; FILETIME creationTime,exitTime,kernelTime,userTime;
@ -508,7 +506,7 @@ VOID test_GetThreadTimes()
/* Check the processor affinity functions */ /* Check the processor affinity functions */
/* NOTE: These functions should also be checked that they obey access control /* NOTE: These functions should also be checked that they obey access control
*/ */
VOID test_thread_processor() VOID test_thread_processor(void)
{ {
HANDLE curthread,curproc; HANDLE curthread,curproc;
DWORD processMask,systemMask; DWORD processMask,systemMask;

View File

@ -184,8 +184,7 @@ typedef BOOL16 (CALLBACK *ACMFORMATTAGENUMCB16)(
* Functions - Win16 * Functions - Win16
*/ */
DWORD WINAPI acmGetVersion16( DWORD WINAPI acmGetVersion16(void);
);
MMRESULT16 WINAPI acmMetrics16( MMRESULT16 WINAPI acmMetrics16(
HACMOBJ16 hao, UINT16 uMetric, LPVOID pMetric HACMOBJ16 hao, UINT16 uMetric, LPVOID pMetric
); );

View File

@ -64,7 +64,7 @@ static struct expr * EXPR_complex( struct expr *l, UINT op, struct expr *r );
static struct expr * EXPR_column( LPWSTR ); static struct expr * EXPR_column( LPWSTR );
static struct expr * EXPR_ival( struct sql_str *); static struct expr * EXPR_ival( struct sql_str *);
static struct expr * EXPR_sval( struct sql_str *); static struct expr * EXPR_sval( struct sql_str *);
static struct expr * EXPR_wildcard(); static struct expr * EXPR_wildcard(void);
%} %}

View File

@ -560,13 +560,13 @@ int MSVCRT_ungetc(int,MSVCRT_FILE*);
MSVCRT_wint_t MSVCRT_fgetwc(MSVCRT_FILE*); MSVCRT_wint_t MSVCRT_fgetwc(MSVCRT_FILE*);
MSVCRT_wint_t MSVCRT_ungetwc(MSVCRT_wint_t,MSVCRT_FILE*); MSVCRT_wint_t MSVCRT_ungetwc(MSVCRT_wint_t,MSVCRT_FILE*);
void MSVCRT__exit(int); void MSVCRT__exit(int);
void MSVCRT_abort(); void MSVCRT_abort(void);
unsigned long* MSVCRT___doserrno(void); unsigned long* MSVCRT___doserrno(void);
int* MSVCRT__errno(void); int* MSVCRT__errno(void);
char* MSVCRT_getenv(const char*); char* MSVCRT_getenv(const char*);
char* MSVCRT_setlocale(int,const char*); char* MSVCRT_setlocale(int,const char*);
int MSVCRT_fclose(MSVCRT_FILE*); int MSVCRT_fclose(MSVCRT_FILE*);
void MSVCRT_terminate(); void MSVCRT_terminate(void);
MSVCRT_FILE* MSVCRT__p__iob(void); MSVCRT_FILE* MSVCRT__p__iob(void);
MSVCRT_time_t MSVCRT_mktime(struct MSVCRT_tm *t); MSVCRT_time_t MSVCRT_mktime(struct MSVCRT_tm *t);
struct MSVCRT_tm* MSVCRT_localtime(const MSVCRT_time_t* secs); struct MSVCRT_tm* MSVCRT_localtime(const MSVCRT_time_t* secs);

View File

@ -64,8 +64,8 @@ typedef LPCSTR LPCOLESTR16;
HINSTANCE COMPOBJ_hInstance32 = 0; HINSTANCE COMPOBJ_hInstance32 = 0;
static HRESULT COM_GetRegisteredClassObject(REFCLSID rclsid, DWORD dwClsContext, LPUNKNOWN* ppUnk); static HRESULT COM_GetRegisteredClassObject(REFCLSID rclsid, DWORD dwClsContext, LPUNKNOWN* ppUnk);
static void COM_RevokeAllClasses(); static void COM_RevokeAllClasses(void);
static void COM_ExternalLockFreeList(); static void COM_ExternalLockFreeList(void);
const CLSID CLSID_StdGlobalInterfaceTable = { 0x00000323, 0, 0, {0xc0, 0, 0, 0, 0, 0, 0, 0x46} }; const CLSID CLSID_StdGlobalInterfaceTable = { 0x00000323, 0, 0, {0xc0, 0, 0, 0, 0, 0, 0, 0x46} };

View File

@ -109,7 +109,7 @@ typedef struct tagAPARTMENT {
extern APARTMENT MTA, *apts; extern APARTMENT MTA, *apts;
extern void* StdGlobalInterfaceTable_Construct(); extern void* StdGlobalInterfaceTable_Construct(void);
extern void StdGlobalInterfaceTable_Destroy(void* self); extern void StdGlobalInterfaceTable_Destroy(void* self);
extern HRESULT StdGlobalInterfaceTable_GetFactory(LPVOID *ppv); extern HRESULT StdGlobalInterfaceTable_GetFactory(LPVOID *ppv);
@ -148,19 +148,19 @@ MARSHAL_Compare_Mids_NoInterface(wine_marshal_id *mid1, wine_marshal_id *mid2) {
HRESULT MARSHAL_Find_Stub_Buffer(wine_marshal_id *mid,IRpcStubBuffer **stub); HRESULT MARSHAL_Find_Stub_Buffer(wine_marshal_id *mid,IRpcStubBuffer **stub);
void MARSHAL_Invalidate_Stub_From_MID(wine_marshal_id *mid); void MARSHAL_Invalidate_Stub_From_MID(wine_marshal_id *mid);
HRESULT MARSHAL_Disconnect_Proxies(); HRESULT MARSHAL_Disconnect_Proxies(void);
HRESULT MARSHAL_GetStandardMarshalCF(LPVOID *ppv); HRESULT MARSHAL_GetStandardMarshalCF(LPVOID *ppv);
void start_listener_thread(); void start_listener_thread(void);
extern HRESULT PIPE_GetNewPipeBuf(wine_marshal_id *mid, IRpcChannelBuffer **pipebuf); extern HRESULT PIPE_GetNewPipeBuf(wine_marshal_id *mid, IRpcChannelBuffer **pipebuf);
/* This function initialize the Running Object Table */ /* This function initialize the Running Object Table */
HRESULT WINAPI RunningObjectTableImpl_Initialize(); HRESULT WINAPI RunningObjectTableImpl_Initialize(void);
/* This function uninitialize the Running Object Table */ /* This function uninitialize the Running Object Table */
HRESULT WINAPI RunningObjectTableImpl_UnInitialize(); HRESULT WINAPI RunningObjectTableImpl_UnInitialize(void);
/* This function decomposes a String path to a String Table containing all the elements ("\" or "subDirectory" or "Directory" or "FileName") of the path */ /* This function decomposes a String path to a String Table containing all the elements ("\" or "subDirectory" or "Directory" or "FileName") of the path */
int WINAPI FileMonikerImpl_DecomposePath(LPCOLESTR str, LPOLESTR** stringTable); int WINAPI FileMonikerImpl_DecomposePath(LPCOLESTR str, LPOLESTR** stringTable);

View File

@ -54,7 +54,7 @@ DECLARE_INTERFACE_(IMalloc16,IUnknown)
/**********************************************************************/ /**********************************************************************/
extern LPMALLOC16 IMalloc16_Constructor(); extern LPMALLOC16 IMalloc16_Constructor(void);
/**********************************************************************/ /**********************************************************************/

View File

@ -86,9 +86,9 @@ static HRESULT WINAPI RunningObjectTableImpl_NoteChangeTime(IRunningObjectTable*
static HRESULT WINAPI RunningObjectTableImpl_GetTimeOfLastChange(IRunningObjectTable* iface, IMoniker* pmkObjectName,FILETIME* pfiletime); static HRESULT WINAPI RunningObjectTableImpl_GetTimeOfLastChange(IRunningObjectTable* iface, IMoniker* pmkObjectName,FILETIME* pfiletime);
static HRESULT WINAPI RunningObjectTableImpl_EnumRunning(IRunningObjectTable* iface, IEnumMoniker** ppenumMoniker); static HRESULT WINAPI RunningObjectTableImpl_EnumRunning(IRunningObjectTable* iface, IEnumMoniker** ppenumMoniker);
/* Local functions*/ /* Local functions*/
HRESULT WINAPI RunningObjectTableImpl_Initialize(); HRESULT WINAPI RunningObjectTableImpl_Initialize(void);
HRESULT WINAPI RunningObjectTableImpl_UnInitialize(); HRESULT WINAPI RunningObjectTableImpl_UnInitialize(void);
HRESULT WINAPI RunningObjectTableImpl_Destroy(); HRESULT WINAPI RunningObjectTableImpl_Destroy(void);
HRESULT WINAPI RunningObjectTableImpl_GetObjectIndex(RunningObjectTableImpl* This,DWORD identReg,IMoniker* pmk,DWORD *indx); HRESULT WINAPI RunningObjectTableImpl_GetObjectIndex(RunningObjectTableImpl* This,DWORD identReg,IMoniker* pmk,DWORD *indx);
/* Virtual function table for the IRunningObjectTable class. */ /* Virtual function table for the IRunningObjectTable class. */

View File

@ -129,8 +129,8 @@ static void OLEUTL_ReadRegistryDWORDValue(HKEY regKey, DWORD* pdwValue);
/****************************************************************************** /******************************************************************************
* These are the prototypes of the utility methods used to manage a shared menu * These are the prototypes of the utility methods used to manage a shared menu
*/ */
static void OLEMenu_Initialize(); static void OLEMenu_Initialize(void);
static void OLEMenu_UnInitialize(); static void OLEMenu_UnInitialize(void);
BOOL OLEMenu_InstallHooks( DWORD tid ); BOOL OLEMenu_InstallHooks( DWORD tid );
BOOL OLEMenu_UnInstallHooks( DWORD tid ); BOOL OLEMenu_UnInstallHooks( DWORD tid );
OleMenuHookItem * OLEMenu_IsHookInstalled( DWORD tid ); OleMenuHookItem * OLEMenu_IsHookInstalled( DWORD tid );
@ -142,14 +142,14 @@ LRESULT CALLBACK OLEMenu_GetMsgProc(INT code, WPARAM wParam, LPARAM lParam);
/****************************************************************************** /******************************************************************************
* These are the prototypes of the OLE Clipboard initialization methods (in clipboard.c) * These are the prototypes of the OLE Clipboard initialization methods (in clipboard.c)
*/ */
void OLEClipbrd_UnInitialize(); void OLEClipbrd_UnInitialize(void);
void OLEClipbrd_Initialize(); void OLEClipbrd_Initialize(void);
/****************************************************************************** /******************************************************************************
* These are the prototypes of the utility methods used for OLE Drag n Drop * These are the prototypes of the utility methods used for OLE Drag n Drop
*/ */
static void OLEDD_Initialize(); static void OLEDD_Initialize(void);
static void OLEDD_UnInitialize(); static void OLEDD_UnInitialize(void);
static void OLEDD_InsertDropTarget( static void OLEDD_InsertDropTarget(
DropTargetNode* nodeToAdd); DropTargetNode* nodeToAdd);
static DropTargetNode* OLEDD_ExtractDropTarget( static DropTargetNode* OLEDD_ExtractDropTarget(
@ -169,7 +169,7 @@ static void OLEDD_TrackStateChange(
TrackerWindowInfo* trackerInfo, TrackerWindowInfo* trackerInfo,
POINT mousePos, POINT mousePos,
DWORD keyState); DWORD keyState);
static DWORD OLEDD_GetButtonState(); static DWORD OLEDD_GetButtonState(void);
/****************************************************************************** /******************************************************************************

View File

@ -50,7 +50,7 @@ typedef struct OleAdviseHolderImpl
} OleAdviseHolderImpl; } OleAdviseHolderImpl;
static LPOLEADVISEHOLDER OleAdviseHolderImpl_Constructor(); static LPOLEADVISEHOLDER OleAdviseHolderImpl_Constructor(void);
static void OleAdviseHolderImpl_Destructor(OleAdviseHolderImpl* ptrToDestroy); static void OleAdviseHolderImpl_Destructor(OleAdviseHolderImpl* ptrToDestroy);
static HRESULT WINAPI OleAdviseHolderImpl_QueryInterface(LPOLEADVISEHOLDER,REFIID,LPVOID*); static HRESULT WINAPI OleAdviseHolderImpl_QueryInterface(LPOLEADVISEHOLDER,REFIID,LPVOID*);
static ULONG WINAPI OleAdviseHolderImpl_AddRef(LPOLEADVISEHOLDER); static ULONG WINAPI OleAdviseHolderImpl_AddRef(LPOLEADVISEHOLDER);
@ -377,7 +377,7 @@ typedef struct DataAdviseHolder
/************************************************************************** /**************************************************************************
* DataAdviseHolder method prototypes * DataAdviseHolder method prototypes
*/ */
static IDataAdviseHolder* DataAdviseHolder_Constructor(); static IDataAdviseHolder* DataAdviseHolder_Constructor(void);
static void DataAdviseHolder_Destructor(DataAdviseHolder* ptrToDestroy); static void DataAdviseHolder_Destructor(DataAdviseHolder* ptrToDestroy);
static HRESULT WINAPI DataAdviseHolder_QueryInterface( static HRESULT WINAPI DataAdviseHolder_QueryInterface(
IDataAdviseHolder* iface, IDataAdviseHolder* iface,

View File

@ -989,7 +989,7 @@ typedef struct tagITypeInfoImpl
static struct ITypeInfo2Vtbl tinfvt; static struct ITypeInfo2Vtbl tinfvt;
static struct ITypeCompVtbl tcompvt; static struct ITypeCompVtbl tcompvt;
static ITypeInfo2 * WINAPI ITypeInfo_Constructor(); static ITypeInfo2 * WINAPI ITypeInfo_Constructor(void);
typedef struct tagTLBContext typedef struct tagTLBContext
{ {

View File

@ -98,9 +98,9 @@ static void ReadStyleSheet (RTF_Info *);
static void ReadInfoGroup (RTF_Info *); static void ReadInfoGroup (RTF_Info *);
static void ReadPictGroup (RTF_Info *); static void ReadPictGroup (RTF_Info *);
static void ReadObjGroup (RTF_Info *); static void ReadObjGroup (RTF_Info *);
static void LookupInit (); static void LookupInit (void);
static void Lookup (RTF_Info *, char *); static void Lookup (RTF_Info *, char *);
static int Hash (); static int Hash (char*);
static void CharSetInit (RTF_Info *); static void CharSetInit (RTF_Info *);
static void ReadCharSetMaps (RTF_Info *); static void ReadCharSetMaps (RTF_Info *);
@ -2451,7 +2451,7 @@ static RTFKey rtfKey[] =
* Initialize lookup table hash values. Only need to do this once. * Initialize lookup table hash values. Only need to do this once.
*/ */
static void LookupInit() static void LookupInit(void)
{ {
static int inited = 0; static int inited = 0;
RTFKey *rp; RTFKey *rp;

View File

@ -1,2 +1,2 @@
void WriterInit (); void WriterInit (RTF_Info *);
int BeginFile (); int BeginFile (RTF_Info *);

View File

@ -559,7 +559,7 @@ HRESULT WINAPI SHCreateDefClassObject(
LPDWORD lpdwUsage, LPDWORD lpdwUsage,
REFIID riidObject); REFIID riidObject);
void WINAPI SHFreeUnusedLibraries(); void WINAPI SHFreeUnusedLibraries(void);
/* SHCreateLinks flags */ /* SHCreateLinks flags */
#define SHCLF_PREFIXNAME 0x01 #define SHCLF_PREFIXNAME 0x01

View File

@ -67,7 +67,7 @@ typedef BOOL (CALLBACK*ParseThemeIniFileProc)(DWORD dwType, LPWSTR pszParam1,
DWORD dwParam, LPVOID lpData); DWORD dwParam, LPVOID lpData);
/* Declarations for undocumented functions for use internally */ /* Declarations for undocumented functions for use internally */
DWORD WINAPI QueryThemeServices(); DWORD WINAPI QueryThemeServices(void);
HRESULT WINAPI OpenThemeFile(LPCWSTR pszThemeFileName, LPCWSTR pszColorName, HRESULT WINAPI OpenThemeFile(LPCWSTR pszThemeFileName, LPCWSTR pszColorName,
LPCWSTR pszSizeName, HTHEMEFILE *hThemeFile, LPCWSTR pszSizeName, HTHEMEFILE *hThemeFile,
DWORD unknown); DWORD unknown);

View File

@ -65,11 +65,11 @@ WINE_DEFAULT_DEBUG_CHANNEL(aspi);
/* Internal function prototypes */ /* Internal function prototypes */
static void static void
SCSI_GetProcinfo(); SCSI_GetProcinfo(void);
#ifdef linux #ifdef linux
static void static void
SCSI_MapHCtoController(); SCSI_MapHCtoController(void);
#endif #endif
static void set_last_error(void) static void set_last_error(void)

View File

@ -58,10 +58,10 @@ struct sg_header
/* Function prototypes from dlls/wnaspi32/aspi.c */ /* Function prototypes from dlls/wnaspi32/aspi.c */
void void
SCSI_Init(); SCSI_Init(void);
int int
ASPI_GetNumControllers(); ASPI_GetNumControllers(void);
int int
SCSI_OpenDevice( int h, int c, int t, int d ); SCSI_OpenDevice( int h, int c, int t, int d );

View File

@ -39,7 +39,7 @@ void VGA_SetQuadPalette(RGBQUAD*color,int start,int len);
LPSTR VGA_Lock(unsigned*Pitch,unsigned*Height,unsigned*Width,unsigned*Depth); LPSTR VGA_Lock(unsigned*Pitch,unsigned*Height,unsigned*Width,unsigned*Depth);
void VGA_Unlock(void); void VGA_Unlock(void);
void VGA_SetWindowStart(int start); void VGA_SetWindowStart(int start);
int VGA_GetWindowStart(); int VGA_GetWindowStart(void);
void VGA_ShowMouse(BOOL show); void VGA_ShowMouse(BOOL show);
/* text mode */ /* text mode */

View File

@ -88,7 +88,7 @@ static VOID INTERNET_CloseHandle(LPWININETHANDLEHEADER hdr);
BOOL WINAPI INTERNET_FindNextFileW(LPWININETFINDNEXTW lpwh, LPVOID lpvFindData); BOOL WINAPI INTERNET_FindNextFileW(LPWININETFINDNEXTW lpwh, LPVOID lpvFindData);
HINTERNET WINAPI INTERNET_InternetOpenUrlW(LPWININETAPPINFOW hIC, LPCWSTR lpszUrl, HINTERNET WINAPI INTERNET_InternetOpenUrlW(LPWININETAPPINFOW hIC, LPCWSTR lpszUrl,
LPCWSTR lpszHeaders, DWORD dwHeadersLength, DWORD dwFlags, DWORD dwContext); LPCWSTR lpszHeaders, DWORD dwHeadersLength, DWORD dwFlags, DWORD dwContext);
static VOID INTERNET_ExecuteWork(); static VOID INTERNET_ExecuteWork(void);
static DWORD g_dwTlsErrIndex = TLS_OUT_OF_INDEXES; static DWORD g_dwTlsErrIndex = TLS_OUT_OF_INDEXES;
static DWORD dwNumThreads; static DWORD dwNumThreads;
@ -102,8 +102,8 @@ static LPWORKREQUEST lpHeadWorkQueue;
static LPWORKREQUEST lpWorkQueueTail; static LPWORKREQUEST lpWorkQueueTail;
static HMODULE WININET_hModule; static HMODULE WININET_hModule;
extern void URLCacheContainers_CreateDefaults(); extern void URLCacheContainers_CreateDefaults(void);
extern void URLCacheContainers_DeleteAll(); extern void URLCacheContainers_DeleteAll(void);
#define HANDLE_CHUNK_SIZE 0x10 #define HANDLE_CHUNK_SIZE 0x10

View File

@ -412,9 +412,9 @@ BOOL GetAddress(LPCWSTR lpszServerName, INTERNET_PORT nServerPort,
struct hostent **phe, struct sockaddr_in *psa); struct hostent **phe, struct sockaddr_in *psa);
void INTERNET_SetLastError(DWORD dwError); void INTERNET_SetLastError(DWORD dwError);
DWORD INTERNET_GetLastError(); DWORD INTERNET_GetLastError(void);
BOOL INTERNET_AsyncCall(LPWORKREQUEST lpWorkRequest); BOOL INTERNET_AsyncCall(LPWORKREQUEST lpWorkRequest);
LPSTR INTERNET_GetResponseBuffer(); LPSTR INTERNET_GetResponseBuffer(void);
LPSTR INTERNET_GetNextLine(INT nSocket, LPDWORD dwLen); LPSTR INTERNET_GetNextLine(INT nSocket, LPDWORD dwLen);
BOOLAPI FTP_FtpPutFileW(LPWININETFTPSESSIONW lpwfs, LPCWSTR lpszLocalFile, BOOLAPI FTP_FtpPutFileW(LPWININETFTPSESSIONW lpwfs, LPCWSTR lpszLocalFile,

View File

@ -43,7 +43,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD reason, LPVOID lpReserved)
switch (reason) switch (reason)
{ {
case DLL_PROCESS_ATTACH: { case DLL_PROCESS_ATTACH: {
extern void WINSPOOL_LoadSystemPrinters(); extern void WINSPOOL_LoadSystemPrinters(void);
DisableThreadLibraryCalls(hInstance); DisableThreadLibraryCalls(hInstance);
WINSPOOL_LoadSystemPrinters(); WINSPOOL_LoadSystemPrinters();

View File

@ -468,7 +468,7 @@ BOOL WINAPI ImmAssociateContextEx(HWND, HIMC, DWORD);
BOOL WINAPI ImmConfigureIMEA(HKL, HWND, DWORD, LPVOID); BOOL WINAPI ImmConfigureIMEA(HKL, HWND, DWORD, LPVOID);
BOOL WINAPI ImmConfigureIMEW(HKL, HWND, DWORD, LPVOID); BOOL WINAPI ImmConfigureIMEW(HKL, HWND, DWORD, LPVOID);
#define ImmConfigureIME WINELIB_NAME_AW(ImmConfigureIME) #define ImmConfigureIME WINELIB_NAME_AW(ImmConfigureIME)
HIMC WINAPI ImmCreateContext(); HIMC WINAPI ImmCreateContext(void);
BOOL WINAPI ImmDestroyContext(HIMC hIMC); BOOL WINAPI ImmDestroyContext(HIMC hIMC);
BOOL WINAPI ImmDisableIME(DWORD idThread); BOOL WINAPI ImmDisableIME(DWORD idThread);
UINT WINAPI ImmEnumRegisterWordA(HKL, REGISTERWORDENUMPROCA, LPCSTR, DWORD, LPCSTR, LPVOID); UINT WINAPI ImmEnumRegisterWordA(HKL, REGISTERWORDENUMPROCA, LPCSTR, DWORD, LPCSTR, LPVOID);

View File

@ -254,7 +254,7 @@ UINT WINAPI MsiGetFileVersionW(LPCWSTR szFilePath, LPWSTR lpVersionBuf, DWORD* p
* Non Unicode * Non Unicode
*/ */
UINT WINAPI MsiCloseHandle(MSIHANDLE); UINT WINAPI MsiCloseHandle(MSIHANDLE);
UINT WINAPI MsiCloseAllHandles(); UINT WINAPI MsiCloseAllHandles(void);
INSTALLUILEVEL WINAPI MsiSetInternalUI(INSTALLUILEVEL, HWND*); INSTALLUILEVEL WINAPI MsiSetInternalUI(INSTALLUILEVEL, HWND*);
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -29,17 +29,17 @@
struct _EXCEPTION_POINTERS; struct _EXCEPTION_POINTERS;
typedef void (*terminate_handler)(); typedef void (*terminate_handler)(void);
typedef void (*terminate_function)(); typedef void (*terminate_function)(void);
typedef void (*unexpected_handler)(); typedef void (*unexpected_handler)(void);
typedef void (*unexpected_function)(); typedef void (*unexpected_function)(void);
typedef void (*_se_translator_function)(unsigned int code, struct _EXCEPTION_POINTERS *info); typedef void (*_se_translator_function)(unsigned int code, struct _EXCEPTION_POINTERS *info);
terminate_function set_terminate(terminate_function func); terminate_function set_terminate(terminate_function func);
unexpected_function set_unexpected(unexpected_function func); unexpected_function set_unexpected(unexpected_function func);
_se_translator_function _set_se_translator(_se_translator_function func); _se_translator_function _set_se_translator(_se_translator_function func);
void terminate(); void terminate(void);
void unexpected(); void unexpected(void);
#endif /* __WINE_EH_H */ #endif /* __WINE_EH_H */

View File

@ -55,8 +55,8 @@ typedef unsigned int size_t;
extern "C" { extern "C" {
#endif #endif
unsigned long __threadid(); unsigned long __threadid(void);
unsigned long __threadhandle(); unsigned long __threadhandle(void);
#define _threadid (__threadid()) #define _threadid (__threadid())
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -78,10 +78,10 @@ typedef unsigned int size_t;
extern "C" { extern "C" {
#endif #endif
extern unsigned int* __p__osver(); extern unsigned int* __p__osver(void);
extern unsigned int* __p__winver(); extern unsigned int* __p__winver(void);
extern unsigned int* __p__winmajor(); extern unsigned int* __p__winmajor(void);
extern unsigned int* __p__winminor(); extern unsigned int* __p__winminor(void);
#define _osver (*__p__osver()) #define _osver (*__p__osver())
#define _winver (*__p__winver()) #define _winver (*__p__winver())
#define _winmajor (*__p__winmajor()) #define _winmajor (*__p__winmajor())
@ -145,7 +145,7 @@ char* _ui64toa(unsigned __int64,char*,int);
char* _ultoa(unsigned long,char*,int); char* _ultoa(unsigned long,char*,int);
void _exit(int); void _exit(int);
void abort(); void abort(void);
int abs(int); int abs(int);
int atexit(void (*)(void)); int atexit(void (*)(void));
double atof(const char*); double atof(const char*);

View File

@ -946,7 +946,7 @@ HRESULT WINAPI SHAutoComplete(HWND,DWORD);
/* Threads */ /* Threads */
HRESULT WINAPI SHGetThreadRef(IUnknown**); HRESULT WINAPI SHGetThreadRef(IUnknown**);
HRESULT WINAPI SHSetThreadRef(IUnknown*); HRESULT WINAPI SHSetThreadRef(IUnknown*);
HRESULT WINAPI SHReleaseThreadRef(); HRESULT WINAPI SHReleaseThreadRef(void);
/* SHCreateThread flags */ /* SHCreateThread flags */
#define CTF_INSIST 0x01 /* Always call */ #define CTF_INSIST 0x01 /* Always call */

View File

@ -66,7 +66,7 @@ HRESULT WINAPI GetCurrentThemeName(LPWSTR,int,LPWSTR,int,LPWSTR,int);
#define STAP_ALLOW_CONTROLS (1<<1) #define STAP_ALLOW_CONTROLS (1<<1)
#define STAP_ALLOW_WEBCONTENT (1<<2) #define STAP_ALLOW_WEBCONTENT (1<<2)
DWORD WINAPI GetThemeAppProperties(); DWORD WINAPI GetThemeAppProperties(void);
HRESULT WINAPI GetThemeBackgroundContentRect(HTHEME,HDC,int,int, HRESULT WINAPI GetThemeBackgroundContentRect(HTHEME,HDC,int,int,
const RECT*,RECT*); const RECT*,RECT*);
HRESULT WINAPI GetThemeBackgroundExtent(HTHEME,HDC,int,int,const RECT*,RECT*); HRESULT WINAPI GetThemeBackgroundExtent(HTHEME,HDC,int,int,const RECT*,RECT*);
@ -162,10 +162,10 @@ HTHEME WINAPI GetWindowTheme(HWND);
HRESULT WINAPI HitTestThemeBackground(HTHEME,HDC,int,int,DWORD,const RECT*, HRESULT WINAPI HitTestThemeBackground(HTHEME,HDC,int,int,DWORD,const RECT*,
HRGN,POINT,WORD*); HRGN,POINT,WORD*);
BOOL WINAPI IsAppThemed(); BOOL WINAPI IsAppThemed(void);
BOOL WINAPI IsThemeActive(); BOOL WINAPI IsThemeActive(void);
BOOL WINAPI IsThemeBackgroundPartiallyTransparent(HTHEME,int,int); BOOL WINAPI IsThemeBackgroundPartiallyTransparent(HTHEME,int,int);
BOOL WINAPI IsThemeDialogTextureEnabled(); BOOL WINAPI IsThemeDialogTextureEnabled(void);
BOOL WINAPI IsThemePartDefined(HTHEME,int,int); BOOL WINAPI IsThemePartDefined(HTHEME,int,int);
HTHEME WINAPI OpenThemeData(HWND,LPCWSTR); HTHEME WINAPI OpenThemeData(HWND,LPCWSTR);
void WINAPI SetThemeAppProperties(DWORD); void WINAPI SetThemeAppProperties(DWORD);