We will need this one earlier in the next patch. No functional change.

Signed-off-by: Ralf Ramsauer <[email protected]>
---
 tools/jailhouse.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/tools/jailhouse.c b/tools/jailhouse.c
index 84e5fe3d..ab495fda 100644
--- a/tools/jailhouse.c
+++ b/tools/jailhouse.c
@@ -79,6 +79,13 @@ static void __attribute__((noreturn)) help(char *prog, int 
exit_status)
        exit(exit_status);
 }
 
+static bool match_opt(const char *argv, const char *short_opt,
+                     const char *long_opt)
+{
+       return strcmp(argv, short_opt) == 0 ||
+               strcmp(argv, long_opt) == 0;
+}
+
 static void call_extension_script(const char *cmd, int argc, char *argv[])
 {
        const struct extension *ext;
@@ -277,13 +284,6 @@ static int parse_cell_id(struct jailhouse_cell_id 
*cell_id, int argc,
        return arg_pos + 1;
 }
 
-static bool match_opt(const char *argv, const char *short_opt,
-                     const char *long_opt)
-{
-       return strcmp(argv, short_opt) == 0 ||
-               strcmp(argv, long_opt) == 0;
-}
-
 static struct jailhouse_cell_info *get_cell_info(const unsigned int id)
 {
        struct jailhouse_cell_info *cinfo;
-- 
2.11.0

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to