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
|
* DialogProc for OpenVPN username/password auth dialog windows
|
||||||
*/
|
*/
|
||||||
static INT_PTR CALLBACK
|
INT_PTR CALLBACK
|
||||||
UserAuthDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
UserAuthDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
connection_t *c;
|
connection_t *c;
|
||||||
|
@ -262,7 +262,7 @@ UserAuthDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||||
/*
|
/*
|
||||||
* DialogProc for OpenVPN private key password dialog windows
|
* DialogProc for OpenVPN private key password dialog windows
|
||||||
*/
|
*/
|
||||||
static INT_PTR CALLBACK
|
INT_PTR CALLBACK
|
||||||
PrivKeyPassDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
PrivKeyPassDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
connection_t *c;
|
connection_t *c;
|
||||||
|
@ -424,7 +424,7 @@ OnStop(connection_t *c, UNUSED char *msg)
|
||||||
/*
|
/*
|
||||||
* DialogProc for OpenVPN status dialog windows
|
* DialogProc for OpenVPN status dialog windows
|
||||||
*/
|
*/
|
||||||
static INT_PTR CALLBACK
|
INT_PTR CALLBACK
|
||||||
StatusDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
StatusDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
connection_t *c;
|
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)
|
ChangePassphraseDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, UNUSED LPARAM lParam)
|
||||||
{
|
{
|
||||||
HICON hIcon;
|
HICON hIcon;
|
||||||
|
|
2
proxy.c
2
proxy.c
|
@ -325,7 +325,7 @@ GetProxyRegistrySettings()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static INT_PTR CALLBACK
|
INT_PTR CALLBACK
|
||||||
ProxyAuthDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
ProxyAuthDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
LPCSTR proxy_type;
|
LPCSTR proxy_type;
|
||||||
|
|
Loading…
Reference in New Issue