mirror of https://github.com/OpenVPN/openvpn-gui
don't define callback functions as static
parent
060da97c5f
commit
c338ca0761
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue