From 7fc95a1726e85bfd206b9744a12850840be46648 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 3 Apr 2015 01:22:55 +0200 Subject: [PATCH] (input_autodetect.c) Move enum to top --- input/input_autodetect.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/input/input_autodetect.c b/input/input_autodetect.c index 7835752903..876dc3c9cd 100644 --- a/input/input_autodetect.c +++ b/input/input_autodetect.c @@ -23,6 +23,16 @@ #include "../general.h" +enum +{ + AUTODETECT_MATCH_NONE = 0, + AUTODETECT_MATCH_VID, + AUTODETECT_MATCH_PID, + AUTODETECT_MATCH_IDENT, + AUTODETECT_MATCH_DRIVER, + AUTODETECT_MATCH_NAME, +}; + static void input_autoconfigure_joypad_conf(config_file_t *conf, struct retro_keybind *binds) { @@ -37,16 +47,6 @@ static void input_autoconfigure_joypad_conf(config_file_t *conf, } } -enum -{ - AUTODETECT_MATCH_NONE = 0, - AUTODETECT_MATCH_VID, - AUTODETECT_MATCH_PID, - AUTODETECT_MATCH_IDENT, - AUTODETECT_MATCH_DRIVER, - AUTODETECT_MATCH_NAME, -}; - static bool input_try_autoconfigure_joypad_from_conf(config_file_t *conf, autoconfig_params_t *params, unsigned *match) {