summaryrefslogtreecommitdiffhomepage
path: root/cli-runopts.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli-runopts.c')
-rw-r--r--cli-runopts.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cli-runopts.c b/cli-runopts.c
index 8d1edee..24169c9 100644
--- a/cli-runopts.c
+++ b/cli-runopts.c
@@ -33,10 +33,10 @@
cli_runopts cli_opts; /* GLOBAL */
-static void printhelp();
+static void printhelp(void);
static void parse_hostname(const char* orighostarg);
static void parse_multihop_hostname(const char* orighostarg, const char* argv0);
-static void fill_own_user();
+static void fill_own_user(void);
#ifdef ENABLE_CLI_PUBKEY_AUTH
static void loadidentityfile(const char* filename, int warnfail);
#endif
@@ -315,6 +315,7 @@ void cli_getopts(int argc, char ** argv) {
break;
case 'b':
next = &dummy;
+ /* FALLTHROUGH */
default:
fprintf(stderr,
"WARNING: Ignoring unknown option -%c\n", c);