From c4bf097d7f5c23d54109d739fa6b857ca8952de0 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 12 Jan 2015 19:53:10 +0100 Subject: [PATCH] Move location_driver.c to location/ --- Makefile.common | 2 +- driver.h | 2 +- griffin/griffin.c | 2 +- location_driver.c => location/location_driver.c | 4 ++-- location_driver.h => location/location_driver.h | 4 ++++ 5 files changed, 9 insertions(+), 5 deletions(-) rename location_driver.c => location/location_driver.c (99%) rename location_driver.h => location/location_driver.h (98%) diff --git a/Makefile.common b/Makefile.common index acdda586f8..69ef79a020 100644 --- a/Makefile.common +++ b/Makefile.common @@ -102,7 +102,7 @@ OBJ += frontend/frontend.o \ gfx/video_driver.o \ osk/osk_driver.o \ camera/camera_driver.o \ - location_driver.o \ + location/location_driver.o \ driver.o \ settings.o \ settings_list.o \ diff --git a/driver.h b/driver.h index 9e70c4349b..1af3b652bc 100644 --- a/driver.h +++ b/driver.h @@ -33,7 +33,7 @@ #include "menu/menu_driver.h" #include "osk/osk_driver.h" #include "camera/camera_driver.h" -#include "location_driver.h" +#include "location/location_driver.h" #include "audio/resamplers/resampler.h" #include "record/ffemu.h" diff --git a/griffin/griffin.c b/griffin/griffin.c index 8cbeb0264c..16cddd60c4 100644 --- a/griffin/griffin.c +++ b/griffin/griffin.c @@ -501,7 +501,7 @@ DRIVERS #include "../audio/audio_driver.c" #include "../osk/osk_driver.c" #include "../camera/camera_driver.c" -#include "../location_driver.c" +#include "../location/location_driver.c" #include "../driver.c" /*============================================================ diff --git a/location_driver.c b/location/location_driver.c similarity index 99% rename from location_driver.c rename to location/location_driver.c index 5400f198dc..e764d3961b 100644 --- a/location_driver.c +++ b/location/location_driver.c @@ -17,8 +17,8 @@ #include #include #include "location_driver.h" -#include "driver.h" -#include "general.h" +#include "../driver.h" +#include "../general.h" static const location_driver_t *location_drivers[] = { #ifdef ANDROID diff --git a/location_driver.h b/location/location_driver.h similarity index 98% rename from location_driver.h rename to location/location_driver.h index 05bb5fed9e..f2c5c617ae 100644 --- a/location_driver.h +++ b/location/location_driver.h @@ -17,6 +17,10 @@ #ifndef __LOCATION_DRIVER__H #define __LOCATION_DRIVER__H +#include +#include +#include + #ifdef __cplusplus extern "C" { #endif