summaryrefslogtreecommitdiffstats
path: root/adb/file_sync_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
commit3313426fad9eaaf53017cdbde889ebcec91358ec (patch)
tree8c0636dfdd70e8ad772b9dde386f0335c8e4ec83 /adb/file_sync_service.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/file_sync_service.cpp')
-rw-r--r--adb/file_sync_service.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/adb/file_sync_service.cpp b/adb/file_sync_service.cpp
index ac01678..e8e9a0f 100644
--- a/adb/file_sync_service.cpp
+++ b/adb/file_sync_service.cpp
@@ -14,6 +14,11 @@
* limitations under the License.
*/
+#define TRACE_TAG TRACE_SYNC
+
+#include "sysdeps.h"
+#include "file_sync_service.h"
+
#include <dirent.h>
#include <errno.h>
#include <selinux/android.h>
@@ -25,12 +30,8 @@
#include <unistd.h>
#include <utime.h>
-#include "sysdeps.h"
-
-#define TRACE_TAG TRACE_SYNC
#include "adb.h"
#include "adb_io.h"
-#include "file_sync_service.h"
#include "private/android_filesystem_config.h"
static bool should_use_fs_config(const char* path) {