summaryrefslogtreecommitdiffstats
path: root/libcutils/debugger.c
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2016-09-30 22:12:45 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-09-30 22:12:45 +0000
commit9fd2eaf827ffd3cc600a2851b74a1bcc52d19c70 (patch)
tree54df91aa122bcd3fdc4a27ff10a8fe0f8a68361d /libcutils/debugger.c
parentc528ac0fe81d334324cffb43b3ec3183042bb1c3 (diff)
parentf56fce02407b876338611c638d7f4b7fdc0f5d24 (diff)
downloadsystem_core-9fd2eaf827ffd3cc600a2851b74a1bcc52d19c70.tar.gz
system_core-9fd2eaf827ffd3cc600a2851b74a1bcc52d19c70.tar.bz2
system_core-9fd2eaf827ffd3cc600a2851b74a1bcc52d19c70.zip
libcutils: Replace cutils/log.h with android/log.h am: 23ed4c242a
am: f56fce0240 Change-Id: I588c3a252594e1ecd4b34242217cf23c84e4af67
Diffstat (limited to 'libcutils/debugger.c')
-rw-r--r--libcutils/debugger.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libcutils/debugger.c b/libcutils/debugger.c
index 3407ec3a1..c6bdd1a6a 100644
--- a/libcutils/debugger.c
+++ b/libcutils/debugger.c
@@ -14,21 +14,21 @@
* limitations under the License.
*/
-#include <stdbool.h>
+#define LOG_TAG "DEBUG"
+
#include <fcntl.h>
+#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/types.h>
#include <unistd.h>
+#include <android/log.h>
#include <cutils/debugger.h>
#include <cutils/sockets.h>
-#define LOG_TAG "DEBUG"
-#include <log/log.h>
-
static int send_request(int sock_fd, void* msg_ptr, size_t msg_len) {
int result = 0;
if (TEMP_FAILURE_RETRY(write(sock_fd, msg_ptr, msg_len)) != (ssize_t) msg_len) {