Change prototypes so gcc with some warnings doesn't bark.
This commit is contained in:
parent
f4db2e3ad7
commit
c822566974
|
@ -172,11 +172,11 @@ static OLEClipbrd* theOleClipboard = NULL;
|
||||||
/*
|
/*
|
||||||
* Prototypes for the methods of the OLEClipboard class.
|
* Prototypes for the methods of the OLEClipboard class.
|
||||||
*/
|
*/
|
||||||
extern void OLEClipbrd_Initialize();
|
void OLEClipbrd_Initialize(void);
|
||||||
extern void OLEClipbrd_UnInitialize();
|
void OLEClipbrd_UnInitialize(void);
|
||||||
static OLEClipbrd* OLEClipbrd_Construct();
|
static OLEClipbrd* OLEClipbrd_Construct(void);
|
||||||
static void OLEClipbrd_Destroy(OLEClipbrd* ptrToDestroy);
|
static void OLEClipbrd_Destroy(OLEClipbrd* ptrToDestroy);
|
||||||
static HWND OLEClipbrd_CreateWindow();
|
static HWND OLEClipbrd_CreateWindow(void);
|
||||||
static void OLEClipbrd_DestroyWindow(HWND hwnd);
|
static void OLEClipbrd_DestroyWindow(HWND hwnd);
|
||||||
LRESULT CALLBACK OLEClipbrd_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
|
LRESULT CALLBACK OLEClipbrd_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
|
||||||
static HRESULT OLEClipbrd_RenderFormat( IDataObject *pIDataObject, LPFORMATETC pFormatetc );
|
static HRESULT OLEClipbrd_RenderFormat( IDataObject *pIDataObject, LPFORMATETC pFormatetc );
|
||||||
|
@ -610,7 +610,7 @@ HRESULT WINAPI OleIsCurrentClipboard ( IDataObject *pDataObject)
|
||||||
* OLEClipbrd_Initialize()
|
* OLEClipbrd_Initialize()
|
||||||
* Initializes the OLE clipboard.
|
* Initializes the OLE clipboard.
|
||||||
*/
|
*/
|
||||||
void OLEClipbrd_Initialize()
|
void OLEClipbrd_Initialize(void)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Create the clipboard if necessary
|
* Create the clipboard if necessary
|
||||||
|
@ -627,7 +627,7 @@ void OLEClipbrd_Initialize()
|
||||||
* OLEClipbrd_UnInitialize()
|
* OLEClipbrd_UnInitialize()
|
||||||
* Un-Initializes the OLE clipboard
|
* Un-Initializes the OLE clipboard
|
||||||
*/
|
*/
|
||||||
void OLEClipbrd_UnInitialize()
|
void OLEClipbrd_UnInitialize(void)
|
||||||
{
|
{
|
||||||
TRACE("()\n");
|
TRACE("()\n");
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -143,8 +143,8 @@ 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);
|
extern void OLEClipbrd_UnInitialize(void);
|
||||||
void OLEClipbrd_Initialize(void);
|
extern 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
|
||||||
|
|
Loading…
Reference in New Issue