don't define callback functions as static

pull/1/head
Heiko Hund 2014-04-08 20:06:37 +02:00
parent 060da97c5f
commit c338ca0761
3 changed files with 5 additions and 5 deletions

View File

@ -204,7 +204,7 @@ OnStateChange(connection_t *c, char *data)
/*
* DialogProc for OpenVPN username/password auth dialog windows
*/
static INT_PTR CALLBACK
INT_PTR CALLBACK
UserAuthDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
connection_t *c;
@ -262,7 +262,7 @@ UserAuthDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
/*
* DialogProc for OpenVPN private key password dialog windows
*/
static INT_PTR CALLBACK
INT_PTR CALLBACK
PrivKeyPassDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
connection_t *c;
@ -424,7 +424,7 @@ OnStop(connection_t *c, UNUSED char *msg)
/*
* DialogProc for OpenVPN status dialog windows
*/
static INT_PTR CALLBACK
INT_PTR CALLBACK
StatusDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
connection_t *c;

View File

@ -339,7 +339,7 @@ ChangePasswordPKCS12(HWND hwndDlg)
}
static INT_PTR CALLBACK
INT_PTR CALLBACK
ChangePassphraseDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, UNUSED LPARAM lParam)
{
HICON hIcon;

View File

@ -325,7 +325,7 @@ GetProxyRegistrySettings()
}
static INT_PTR CALLBACK
INT_PTR CALLBACK
ProxyAuthDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
LPCSTR proxy_type;