summaryrefslogtreecommitdiff
path: root/jdwp_service.cpp
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-03-19 15:21:08 -0700
committerDan Albert <danalbert@google.com>2015-03-19 15:32:33 -0700
commitdfa355b547f05c0341eb03253210369da10200c3 (patch)
tree7c788a60093d22977baee6c6625107abf40b66e3 /jdwp_service.cpp
parent1b61ee315e2bac41c1a1bebe59aa40c7c412c9a8 (diff)
downloadadb-dfa355b547f05c0341eb03253210369da10200c3.tar.gz
File header cleanup.
* sysdeps.h should always be included first. * TRACE_TAG needs to be defined before anything is included. * Some files were missing copyright headers. * Save precious bytes on my SSD by removing useless whitespace. Change-Id: I88980e6e00b5be1093806cf286740d9e4a033b94
Diffstat (limited to 'jdwp_service.cpp')
-rw-r--r--jdwp_service.cpp24
1 files changed, 22 insertions, 2 deletions
diff --git a/jdwp_service.cpp b/jdwp_service.cpp
index f0b4ba7..9cf084e 100644
--- a/jdwp_service.cpp
+++ b/jdwp_service.cpp
@@ -1,12 +1,32 @@
+/*
+ * Copyright (C) 2015 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/* implement the "debug-ports" and "track-debug-ports" device services */
+
+#define TRACE_TAG TRACE_JDWP
+
#include "sysdeps.h"
-#define TRACE_TAG TRACE_JDWP
-#include "adb.h"
+
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
+#include "adb.h"
+
/* here's how these things work.
when adbd starts, it creates a unix server socket