From: Andreas Schneider Date: Mon, 26 Jan 2015 22:14:17 +0000 (+0100) Subject: macloader: Fix build warning with LOG defines. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0be084139d4000537bfeace6de3ae371812d3117;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung.git macloader: Fix build warning with LOG defines. They need to be set before log.h is included or we will get redefiniton warnings. Change-Id: I87e971d32139a807998468e6a781e1f39dd7a8e5 Signed-off-by: Andreas Schneider --- diff --git a/macloader/macloader.c b/macloader/macloader.c index c56743a..e182588 100644 --- a/macloader/macloader.c +++ b/macloader/macloader.c @@ -16,15 +16,15 @@ * limitations under the License. */ +#define LOG_TAG "macloader" +#define LOG_NDEBUG 0 #include #include #include #include -#include -#define LOG_TAG "macloader" -#define LOG_NDEBUG 0 +#include #define MACADDR_PATH "/efs/wifi/.mac.info" #define CID_PATH "/data/.cid.info"