From 7dd4d4a4b38ae92f0f8a3e9a4ab94e4ed101df4d Mon Sep 17 00:00:00 2001 From: John Kerl Date: Sat, 3 Oct 2015 14:55:53 -0400 Subject: [PATCH] neaten: public before private --- c/mapping/mapper_join.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/c/mapping/mapper_join.c b/c/mapping/mapper_join.c index c4b009edd..d178dda7c 100644 --- a/c/mapping/mapper_join.c +++ b/c/mapping/mapper_join.c @@ -9,6 +9,17 @@ #include "input/lrec_readers.h" #include "cli/argparse.h" +// ---------------------------------------------------------------- +static void mapper_join_usage(FILE* o, char* argv0, char* verb); +static mapper_t* mapper_join_parse_cli(int* pargi, int argc, char** argv); + +mapper_setup_t mapper_join_setup = { + .verb = "join", + .pusage_func = mapper_join_usage, + .pparse_func = mapper_join_parse_cli, +}; + +// ---------------------------------------------------------------- // Join options, if unspecified, default to respective main options. #define OPTION_UNSPECIFIED ((char)0xff) @@ -435,10 +446,3 @@ static mapper_t* mapper_join_parse_cli(int* pargi, int argc, char** argv) { return mapper_join_alloc(popts); } - -// ---------------------------------------------------------------- -mapper_setup_t mapper_join_setup = { - .verb = "join", - .pusage_func = mapper_join_usage, - .pparse_func = mapper_join_parse_cli, -};