summaryrefslogtreecommitdiffstats
path: root/adb/transport_local.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
commit3313426fad9eaaf53017cdbde889ebcec91358ec (patch)
tree8c0636dfdd70e8ad772b9dde386f0335c8e4ec83 /adb/transport_local.cpp
parentb4ebc475e678e1dce5e4c78436a0b2fc4813159d (diff)
downloadsystem_core-3313426fad9eaaf53017cdbde889ebcec91358ec.zip
system_core-3313426fad9eaaf53017cdbde889ebcec91358ec.tar.gz
system_core-3313426fad9eaaf53017cdbde889ebcec91358ec.tar.bz2
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 'adb/transport_local.cpp')
-rw-r--r--adb/transport_local.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/adb/transport_local.cpp b/adb/transport_local.cpp
index 440d4c5..fe3c87f 100644
--- a/adb/transport_local.cpp
+++ b/adb/transport_local.cpp
@@ -14,21 +14,23 @@
* limitations under the License.
*/
+#define TRACE_TAG TRACE_TRANSPORT
+
+#include "sysdeps.h"
+#include "transport.h"
+
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
-#include "sysdeps.h"
-
-#define TRACE_TAG TRACE_TRANSPORT
-#include "adb.h"
-#include "adb_io.h"
#if !ADB_HOST
#include "cutils/properties.h"
#endif
-#include "transport.h"
+
+#include "adb.h"
+#include "adb_io.h"
#if ADB_HOST
/* we keep a list of opened transports. The atransport struct knows to which