summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn2017-01-10 15:19:54 -0600
committerMark Salyzyn2017-01-11 11:31:15 -0600
commit30f991f251940be3ed11566fb71139852286f68a (patch)
tree5cef5c112aa400da1ad1572d26fcc3b6b3099b6e /libnetutils
parentcdd7ec12be3dfb6a7fa2f597d2220445c96725cf (diff)
downloadplatform-system-core-30f991f251940be3ed11566fb71139852286f68a.tar.gz
platform-system-core-30f991f251940be3ed11566fb71139852286f68a.tar.xz
platform-system-core-30f991f251940be3ed11566fb71139852286f68a.zip
liblog: use log/log.h when utilizing ALOG macros
Test: compile Bug: 30465923 Change-Id: Id6d76510819ebd88c3f5003d00d73a0dbe85e943
Diffstat (limited to 'libnetutils')
-rw-r--r--libnetutils/dhcpclient.c2
-rw-r--r--libnetutils/ifc_utils.c2
-rw-r--r--libnetutils/packet.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libnetutils/dhcpclient.c b/libnetutils/dhcpclient.c
index d17bdd3c2..11c116a51 100644
--- a/libnetutils/dhcpclient.c
+++ b/libnetutils/dhcpclient.c
@@ -31,8 +31,8 @@
31#include <time.h> 31#include <time.h>
32#include <unistd.h> 32#include <unistd.h>
33 33
34#include <android/log.h>
35#include <cutils/properties.h> 34#include <cutils/properties.h>
35#include <log/log.h>
36 36
37#include <netutils/ifc.h> 37#include <netutils/ifc.h>
38#include "dhcpmsg.h" 38#include "dhcpmsg.h"
diff --git a/libnetutils/ifc_utils.c b/libnetutils/ifc_utils.c
index 275327ab4..a098d596e 100644
--- a/libnetutils/ifc_utils.c
+++ b/libnetutils/ifc_utils.c
@@ -38,8 +38,8 @@
38 38
39#ifdef ANDROID 39#ifdef ANDROID
40#define LOG_TAG "NetUtils" 40#define LOG_TAG "NetUtils"
41#include <android/log.h>
42#include <cutils/properties.h> 41#include <cutils/properties.h>
42#include <log/log.h>
43#else 43#else
44#define ALOGD printf 44#define ALOGD printf
45#define ALOGW printf 45#define ALOGW printf
diff --git a/libnetutils/packet.c b/libnetutils/packet.c
index 56168e844..e53a4c84f 100644
--- a/libnetutils/packet.c
+++ b/libnetutils/packet.c
@@ -28,7 +28,7 @@
28 28
29#ifdef ANDROID 29#ifdef ANDROID
30#define LOG_TAG "DHCP" 30#define LOG_TAG "DHCP"
31#include <android/log.h> 31#include <log/log.h>
32#else 32#else
33#include <stdio.h> 33#include <stdio.h>
34#define ALOGD printf 34#define ALOGD printf