Corrected prototypes func() ->func(void).
This commit is contained in:
parent
5ef8b175c0
commit
b36c6fb164
|
@ -18,13 +18,13 @@ typedef struct tagCLIPFORMAT {
|
||||||
|
|
||||||
typedef struct _CLIPBOARD_DRIVER
|
typedef struct _CLIPBOARD_DRIVER
|
||||||
{
|
{
|
||||||
void (*pEmptyClipboard)();
|
void (*pEmptyClipboard)(void);
|
||||||
void (*pSetClipboardData)(UINT32);
|
void (*pSetClipboardData)(UINT32);
|
||||||
BOOL32 (*pRequestSelection)();
|
BOOL32 (*pRequestSelection)(void);
|
||||||
void (*pResetOwner)(WND *, BOOL32);
|
void (*pResetOwner)(WND *, BOOL32);
|
||||||
} CLIPBOARD_DRIVER;
|
} CLIPBOARD_DRIVER;
|
||||||
|
|
||||||
CLIPBOARD_DRIVER *CLIPBOARD_GetDriver();
|
CLIPBOARD_DRIVER *CLIPBOARD_GetDriver(void);
|
||||||
|
|
||||||
extern void CLIPBOARD_ResetLock(HQUEUE16 hqRef, HQUEUE16 hqNew);
|
extern void CLIPBOARD_ResetLock(HQUEUE16 hqRef, HQUEUE16 hqNew);
|
||||||
extern void CLIPBOARD_DeleteRecord(LPCLIPFORMAT lpFormat, BOOL32 bChange);
|
extern void CLIPBOARD_DeleteRecord(LPCLIPFORMAT lpFormat, BOOL32 bChange);
|
||||||
|
|
|
@ -27,13 +27,13 @@
|
||||||
|
|
||||||
typedef struct CONSOLE_DRIVER
|
typedef struct CONSOLE_DRIVER
|
||||||
{
|
{
|
||||||
void (*init)();
|
void (*init)(void);
|
||||||
void (*close)();
|
void (*close)(void);
|
||||||
void (*write)(char, int, int, int);
|
void (*write)(char, int, int, int);
|
||||||
void (*moveCursor)(char, char);
|
void (*moveCursor)(char, char);
|
||||||
void (*getCursorPosition)(char *, char *);
|
void (*getCursorPosition)(char *, char *);
|
||||||
void (*getCharacterAtCursor)(char *, int *, int *, int *);
|
void (*getCharacterAtCursor)(char *, int *, int *, int *);
|
||||||
void (*clearScreen)();
|
void (*clearScreen)(void);
|
||||||
|
|
||||||
/* Color-control functions */
|
/* Color-control functions */
|
||||||
int (*allocColor)(int color);
|
int (*allocColor)(int color);
|
||||||
|
@ -53,10 +53,10 @@ typedef struct CONSOLE_DRIVER
|
||||||
void (*scrollDownWindow)(char, char, char, char, char, int, int);
|
void (*scrollDownWindow)(char, char, char, char, char, int, int);
|
||||||
|
|
||||||
/* Accellerator Functions (Keyboard) */
|
/* Accellerator Functions (Keyboard) */
|
||||||
char (*getCharacter)();
|
char (*getCharacter)(void);
|
||||||
|
|
||||||
/* Other functions */
|
/* Other functions */
|
||||||
void (*refresh)();
|
void (*refresh)(void);
|
||||||
|
|
||||||
/* Other data */
|
/* Other data */
|
||||||
int norefresh;
|
int norefresh;
|
||||||
|
@ -80,43 +80,43 @@ int CONSOLE_CheckForKeystroke(char *, char*);
|
||||||
void CONSOLE_GetKeystroke(char *, char *);
|
void CONSOLE_GetKeystroke(char *, char *);
|
||||||
void CONSOLE_GetCursorPosition(char *, char *);
|
void CONSOLE_GetCursorPosition(char *, char *);
|
||||||
void CONSOLE_GetCharacterAtCursor(char *, int *, int *, int *);
|
void CONSOLE_GetCharacterAtCursor(char *, int *, int *, int *);
|
||||||
void CONSOLE_Refresh();
|
void CONSOLE_Refresh(void);
|
||||||
void CONSOLE_SetRefresh(int);
|
void CONSOLE_SetRefresh(int);
|
||||||
int CONSOLE_GetRefresh();
|
int CONSOLE_GetRefresh(void);
|
||||||
void CONSOLE_ClearScreen();
|
void CONSOLE_ClearScreen(void);
|
||||||
char CONSOLE_GetCharacter();
|
char CONSOLE_GetCharacter(void);
|
||||||
void CONSOLE_ResizeScreen();
|
void CONSOLE_ResizeScreen(int, int);
|
||||||
void CONSOLE_NotifyResizeScreen();
|
void CONSOLE_NotifyResizeScreen(int, int);
|
||||||
void CONSOLE_WriteRawString(char *);
|
void CONSOLE_WriteRawString(char *);
|
||||||
int CONSOLE_AllocColor(int);
|
int CONSOLE_AllocColor(int);
|
||||||
void CONSOLE_SetBackgroundColor(int fg, int bg);
|
void CONSOLE_SetBackgroundColor(int fg, int bg);
|
||||||
|
|
||||||
/* Generic Defines */
|
/* Generic Defines */
|
||||||
void GENERIC_Start();
|
void GENERIC_Start(void);
|
||||||
void GENERIC_ClearWindow(char, char, char, char, int, int);
|
void GENERIC_ClearWindow(char, char, char, char, int, int);
|
||||||
void GENERIC_ScrollUpWindow(char, char, char, char, char, int, int);
|
void GENERIC_ScrollUpWindow(char, char, char, char, char, int, int);
|
||||||
void GENERIC_ScrollDownWindow(char, char, char, char, char, int, int);
|
void GENERIC_ScrollDownWindow(char, char, char, char, char, int, int);
|
||||||
char GENERIC_GetCharacter();
|
char GENERIC_GetCharacter(void);
|
||||||
|
|
||||||
/* TTY specific defines */
|
/* TTY specific defines */
|
||||||
void TTY_Write(char out, int fg_color, int bg_color, int attribute);
|
void TTY_Write(char out, int fg_color, int bg_color, int attribute);
|
||||||
void TTY_Start();
|
void TTY_Start(void);
|
||||||
void TTY_GetKeystroke(char *, char *);
|
void TTY_GetKeystroke(char *, char *);
|
||||||
|
|
||||||
#ifdef WINE_NCURSES
|
#ifdef WINE_NCURSES
|
||||||
|
|
||||||
/* ncurses defines */
|
/* ncurses defines */
|
||||||
void NCURSES_Write(char out, int fg_color, int bg_color, int attribute);
|
void NCURSES_Write(char out, int fg_color, int bg_color, int attribute);
|
||||||
void NCURSES_Start();
|
void NCURSES_Start(void);
|
||||||
void NCURSES_Init();
|
void NCURSES_Init(void);
|
||||||
void NCURSES_Close();
|
void NCURSES_Close(void);
|
||||||
int NCURSES_CheckForKeystroke(char *, char *);
|
int NCURSES_CheckForKeystroke(char *, char *);
|
||||||
void NCURSES_GetKeystroke(char *, char *);
|
void NCURSES_GetKeystroke(char *, char *);
|
||||||
void NCURSES_MoveCursor(char ,char);
|
void NCURSES_MoveCursor(char ,char);
|
||||||
void NCURSES_GetCursorPosition(char *, char *);
|
void NCURSES_GetCursorPosition(char *, char *);
|
||||||
void NCURSES_GetCharacterAtCursor(char *, int *, int *, int *);
|
void NCURSES_GetCharacterAtCursor(char *, int *, int *, int *);
|
||||||
void NCURSES_Refresh();
|
void NCURSES_Refresh(void);
|
||||||
void NCURSES_ClearScreen();
|
void NCURSES_ClearScreen(void);
|
||||||
void NCURSES_NotifyResizeScreen(int x, int y);
|
void NCURSES_NotifyResizeScreen(int x, int y);
|
||||||
int NCURSES_AllocColor(int);
|
int NCURSES_AllocColor(int);
|
||||||
void NCURSES_SetBackgroundColor(int fg, int bg);
|
void NCURSES_SetBackgroundColor(int fg, int bg);
|
||||||
|
@ -124,9 +124,9 @@ void NCURSES_SetBackgroundColor(int fg, int bg);
|
||||||
#endif /* WINE_NCURSES */
|
#endif /* WINE_NCURSES */
|
||||||
|
|
||||||
/* Xterm specific defines */
|
/* Xterm specific defines */
|
||||||
void XTERM_Start();
|
void XTERM_Start(void);
|
||||||
void XTERM_Close();
|
void XTERM_Close(void);
|
||||||
void XTERM_Init();
|
void XTERM_Init(void);
|
||||||
void XTERM_ResizeScreen(int x, int y);
|
void XTERM_ResizeScreen(int x, int y);
|
||||||
|
|
||||||
/* Color defines */
|
/* Color defines */
|
||||||
|
|
|
@ -29,9 +29,9 @@ typedef struct _DESKTOP_DRIVER {
|
||||||
void (*pFinalize)(struct tagDESKTOP *pDesktop);
|
void (*pFinalize)(struct tagDESKTOP *pDesktop);
|
||||||
} DESKTOP_DRIVER;
|
} DESKTOP_DRIVER;
|
||||||
|
|
||||||
extern int DESKTOP_GetScreenWidth();
|
extern int DESKTOP_GetScreenWidth(void);
|
||||||
extern int DESKTOP_GetScreenHeight();
|
extern int DESKTOP_GetScreenHeight(void);
|
||||||
extern int DESKTOP_GetScreenDepth();
|
extern int DESKTOP_GetScreenDepth(void);
|
||||||
|
|
||||||
extern BOOL32 DESKTOP_SetPattern( LPCSTR pattern );
|
extern BOOL32 DESKTOP_SetPattern( LPCSTR pattern );
|
||||||
extern LRESULT WINAPI DesktopWndProc( HWND32 hwnd, UINT32 message,
|
extern LRESULT WINAPI DesktopWndProc( HWND32 hwnd, UINT32 message,
|
||||||
|
|
|
@ -30,14 +30,14 @@ VOID WINAPI KEYBOARD_Disable(VOID);
|
||||||
/* Wine internals */
|
/* Wine internals */
|
||||||
|
|
||||||
typedef struct _KEYBOARD_DRIVER {
|
typedef struct _KEYBOARD_DRIVER {
|
||||||
void (*pInit)();
|
void (*pInit)(void);
|
||||||
WORD (*pVkKeyScan)(CHAR);
|
WORD (*pVkKeyScan)(CHAR);
|
||||||
UINT16 (*pMapVirtualKey)(UINT16, UINT16);
|
UINT16 (*pMapVirtualKey)(UINT16, UINT16);
|
||||||
INT16 (*pGetKeyNameText)(LONG, LPSTR, INT16);
|
INT16 (*pGetKeyNameText)(LONG, LPSTR, INT16);
|
||||||
INT16 (*pToAscii)(UINT16, UINT16, LPBYTE, LPVOID, UINT16);
|
INT16 (*pToAscii)(UINT16, UINT16, LPBYTE, LPVOID, UINT16);
|
||||||
} KEYBOARD_DRIVER;
|
} KEYBOARD_DRIVER;
|
||||||
|
|
||||||
extern KEYBOARD_DRIVER *KEYBOARD_GetDriver();
|
extern KEYBOARD_DRIVER *KEYBOARD_GetDriver(void);
|
||||||
|
|
||||||
extern void KEYBOARD_SendEvent(BYTE bVk, BYTE bScan, DWORD dwFlags, DWORD posX, DWORD posY, DWORD time);
|
extern void KEYBOARD_SendEvent(BYTE bVk, BYTE bScan, DWORD dwFlags, DWORD posX, DWORD posY, DWORD time);
|
||||||
|
|
||||||
|
|
|
@ -18,8 +18,8 @@ struct tagWND;
|
||||||
typedef struct {
|
typedef struct {
|
||||||
} TTYDRV_PDEVICE;
|
} TTYDRV_PDEVICE;
|
||||||
|
|
||||||
extern BOOL32 TTYDRV_GDI_Initialize();
|
extern BOOL32 TTYDRV_GDI_Initialize(void);
|
||||||
extern void TTDRV_GDI_Finalize();
|
extern void TTDRV_GDI_Finalize(void);
|
||||||
extern BOOL32 TTYDRV_GDI_CreateDC(struct tagDC *dc, LPCSTR driver, LPCSTR device, LPCSTR output, const DEVMODE16 *initData);
|
extern BOOL32 TTYDRV_GDI_CreateDC(struct tagDC *dc, LPCSTR driver, LPCSTR device, LPCSTR output, const DEVMODE16 *initData);
|
||||||
extern BOOL32 TTYDRV_GDI_DeleteDC(struct tagDC *dc);
|
extern BOOL32 TTYDRV_GDI_DeleteDC(struct tagDC *dc);
|
||||||
extern INT32 TTYDRV_GDI_Escape(struct tagDC *dc, INT32 nEscape, INT32 cbInput, SEGPTR lpInData, SEGPTR lpOutData);
|
extern INT32 TTYDRV_GDI_Escape(struct tagDC *dc, INT32 nEscape, INT32 cbInput, SEGPTR lpInData, SEGPTR lpOutData);
|
||||||
|
@ -28,9 +28,9 @@ extern INT32 TTYDRV_GDI_Escape(struct tagDC *dc, INT32 nEscape, INT32 cbInput, S
|
||||||
|
|
||||||
extern struct _CLIPBOARD_DRIVER TTYDRV_CLIPBOARD_Driver;
|
extern struct _CLIPBOARD_DRIVER TTYDRV_CLIPBOARD_Driver;
|
||||||
|
|
||||||
extern void TTYDRV_CLIPBOARD_EmptyClipboard();
|
extern void TTYDRV_CLIPBOARD_EmptyClipboard(void);
|
||||||
extern void TTYDRV_CLIPBOARD_SetClipboardData(UINT32 wFormat);
|
extern void TTYDRV_CLIPBOARD_SetClipboardData(UINT32 wFormat);
|
||||||
extern BOOL32 TTYDRV_CLIPBOARD_RequestSelection();
|
extern BOOL32 TTYDRV_CLIPBOARD_RequestSelection(void);
|
||||||
extern void TTYDRV_CLIPBOARD_ResetOwner(struct tagWND *pWnd, BOOL32 bFooBar);
|
extern void TTYDRV_CLIPBOARD_ResetOwner(struct tagWND *pWnd, BOOL32 bFooBar);
|
||||||
|
|
||||||
/* TTY desktop driver */
|
/* TTY desktop driver */
|
||||||
|
@ -70,12 +70,12 @@ extern INT16 TTYDRV_KEYBOARD_ToAscii(UINT16 virtKey, UINT16 scanCode, LPBYTE lpK
|
||||||
|
|
||||||
/* TTY main driver */
|
/* TTY main driver */
|
||||||
|
|
||||||
extern void TTYDRV_MAIN_Finalize();
|
extern void TTYDRV_MAIN_Finalize(void);
|
||||||
extern void TTYDRV_MAIN_Initialize();
|
extern void TTYDRV_MAIN_Initialize(void);
|
||||||
extern void TTYDRV_MAIN_ParseOptions(int *argc, char *argv[]);
|
extern void TTYDRV_MAIN_ParseOptions(int *argc, char *argv[]);
|
||||||
extern void TTYDRV_MAIN_Create();
|
extern void TTYDRV_MAIN_Create(void);
|
||||||
extern void TTYDRV_MAIN_SaveSetup();
|
extern void TTYDRV_MAIN_SaveSetup(void);
|
||||||
extern void TTYDRV_MAIN_RestoreSetup();
|
extern void TTYDRV_MAIN_RestoreSetup(void);
|
||||||
|
|
||||||
/* TTY monitor driver */
|
/* TTY monitor driver */
|
||||||
|
|
||||||
|
|
|
@ -218,9 +218,9 @@ extern int *X11DRV_DIB_BuildColorMap( struct tagDC *dc, WORD coloruse,
|
||||||
|
|
||||||
extern struct _CLIPBOARD_DRIVER X11DRV_CLIPBOARD_Driver;
|
extern struct _CLIPBOARD_DRIVER X11DRV_CLIPBOARD_Driver;
|
||||||
|
|
||||||
extern void X11DRV_CLIPBOARD_EmptyClipboard();
|
extern void X11DRV_CLIPBOARD_EmptyClipboard(void);
|
||||||
extern void X11DRV_CLIPBOARD_SetClipboardData(UINT32 wFormat);
|
extern void X11DRV_CLIPBOARD_SetClipboardData(UINT32 wFormat);
|
||||||
extern BOOL32 X11DRV_CLIPBOARD_RequestSelection();
|
extern BOOL32 X11DRV_CLIPBOARD_RequestSelection(void);
|
||||||
extern void X11DRV_CLIPBOARD_ResetOwner(struct tagWND *pWnd, BOOL32 bFooBar);
|
extern void X11DRV_CLIPBOARD_ResetOwner(struct tagWND *pWnd, BOOL32 bFooBar);
|
||||||
|
|
||||||
void X11DRV_CLIPBOARD_ReadSelection(Window w, Atom prop);
|
void X11DRV_CLIPBOARD_ReadSelection(Window w, Atom prop);
|
||||||
|
@ -278,15 +278,15 @@ extern void KEYBOARD_UpdateState ( void );
|
||||||
/* X11 main driver */
|
/* X11 main driver */
|
||||||
|
|
||||||
extern Display *display;
|
extern Display *display;
|
||||||
extern Screen *X11DRV_GetXScreen();
|
extern Screen *X11DRV_GetXScreen(void);
|
||||||
extern Window X11DRV_GetXRootWindow();
|
extern Window X11DRV_GetXRootWindow(void);
|
||||||
|
|
||||||
extern void X11DRV_MAIN_Finalize();
|
extern void X11DRV_MAIN_Finalize(void);
|
||||||
extern void X11DRV_MAIN_Initialize();
|
extern void X11DRV_MAIN_Initialize(void);
|
||||||
extern void X11DRV_MAIN_ParseOptions(int *argc, char *argv[]);
|
extern void X11DRV_MAIN_ParseOptions(int *argc, char *argv[]);
|
||||||
extern void X11DRV_MAIN_Create();
|
extern void X11DRV_MAIN_Create(void);
|
||||||
extern void X11DRV_MAIN_SaveSetup();
|
extern void X11DRV_MAIN_SaveSetup(void);
|
||||||
extern void X11DRV_MAIN_RestoreSetup();
|
extern void X11DRV_MAIN_RestoreSetup(void);
|
||||||
|
|
||||||
/* X11 monitor driver */
|
/* X11 monitor driver */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue