summaryrefslogtreecommitdiffstats
path: root/source/dialogs/ssh.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-01-07 19:47:37 +0100
committerDave Davenport <qball@gmpclient.org>2016-01-07 19:47:37 +0100
commite8daff0f6ad49cd17b225622fa1875ee2960a70f (patch)
tree98573f33b525ffe0acbb378eb0367e8c658fc0cc /source/dialogs/ssh.c
parent51b5511017b632129df78d2906882abafd92c38a (diff)
First cleanup steps.
Diffstat (limited to 'source/dialogs/ssh.c')
-rw-r--r--source/dialogs/ssh.c29
1 files changed, 15 insertions, 14 deletions
diff --git a/source/dialogs/ssh.c b/source/dialogs/ssh.c
index 19b3fc97..2c244f9b 100644
--- a/source/dialogs/ssh.c
+++ b/source/dialogs/ssh.c
@@ -48,6 +48,7 @@
#include "history.h"
#include "dialogs/ssh.h"
+#include "mode-private.h"
/**
* Name of the history file where previously choosen hosts are stored.
*/
@@ -489,19 +490,19 @@ static int ssh_is_not_ascii ( const Mode *sw, unsigned int index )
Mode ssh_mode =
{
- .name = "ssh",
- .keycfg = NULL,
- .keystr = NULL,
- .modmask = AnyModifier,
- .init = ssh_mode_init,
- .get_num_entries = ssh_mode_get_num_entries,
- .result = ssh_mode_result,
- .destroy = ssh_mode_destroy,
- .token_match = ssh_token_match,
- .mgrv = mgrv,
- .get_completion = NULL,
- .is_not_ascii = ssh_is_not_ascii,
- .private_data = NULL,
- .free = NULL
+ .name = "ssh",
+ .keycfg = NULL,
+ .keystr = NULL,
+ .modmask = AnyModifier,
+ ._init = ssh_mode_init,
+ ._get_num_entries = ssh_mode_get_num_entries,
+ .result = ssh_mode_result,
+ ._destroy = ssh_mode_destroy,
+ .token_match = ssh_token_match,
+ .mgrv = mgrv,
+ .get_completion = NULL,
+ .is_not_ascii = ssh_is_not_ascii,
+ .private_data = NULL,
+ .free = NULL
};
/*@}*/