From 0bd94b9b54b40d09be0255e7d235c5583aec92bf Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 1 Dec 2016 20:26:35 +0100 Subject: [PATCH] Move extern variable prototype to input_autodetect.c --- input/input_autodetect.c | 2 ++ input/input_autodetect.h | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/input/input_autodetect.c b/input/input_autodetect.c index 809102d139..c1b7413bc3 100644 --- a/input/input_autodetect.c +++ b/input/input_autodetect.c @@ -32,6 +32,8 @@ #include "../runloop.h" #include "../verbosity.h" +extern const char* const input_builtin_autoconfs[]; + /* Adds an index for devices with the same name, * so they can be identified in the GUI. */ static void input_autoconfigure_joypad_reindex_devices(void) diff --git a/input/input_autodetect.h b/input/input_autodetect.h index 5957f23bd0..d92d386146 100644 --- a/input/input_autodetect.h +++ b/input/input_autodetect.h @@ -20,7 +20,6 @@ #include #include -#include typedef struct autoconfig_params { @@ -36,6 +35,4 @@ bool input_autoconfigure_connect(autoconfig_params_t *params); void input_autoconfigure_disconnect(unsigned i, const char *ident); -extern const char* const input_builtin_autoconfs[]; - #endif