diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2015-01-26 23:14:17 +0100 |
---|---|---|
committer | Ethan Chen <intervigil@gmail.com> | 2015-01-27 14:41:20 -0800 |
commit | 2b601794d7ece25e99a9998e6ccf7e3daf31fe37 (patch) | |
tree | cc28626524c5191315d67febd7de71636ba2586c | |
parent | 60f13f21c27ab5c5572d132595c09ffeb8ee3e05 (diff) | |
download | android_hardware_samsung-2b601794d7ece25e99a9998e6ccf7e3daf31fe37.tar.gz android_hardware_samsung-2b601794d7ece25e99a9998e6ccf7e3daf31fe37.tar.bz2 android_hardware_samsung-2b601794d7ece25e99a9998e6ccf7e3daf31fe37.zip |
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 <asn@cryptomilk.org>
-rw-r--r-- | macloader/macloader.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macloader/macloader.c b/macloader/macloader.c index fc65bf3..3e91ec5 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 <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> -#include <cutils/log.h> -#define LOG_TAG "macloader" -#define LOG_NDEBUG 0 +#include <cutils/log.h> #define MACADDR_PATH "/efs/wifi/.mac.info" #define CID_PATH "/data/.cid.info" |