diff options
author | Dan Albert <danalbert@google.com> | 2015-03-19 15:21:08 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-03-19 15:32:33 -0700 |
commit | 3313426fad9eaaf53017cdbde889ebcec91358ec (patch) | |
tree | 8c0636dfdd70e8ad772b9dde386f0335c8e4ec83 /adb/jdwp_service.cpp | |
parent | b4ebc475e678e1dce5e4c78436a0b2fc4813159d (diff) | |
download | system_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/jdwp_service.cpp')
-rw-r--r-- | adb/jdwp_service.cpp | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/adb/jdwp_service.cpp b/adb/jdwp_service.cpp index f0b4ba7..9cf084e 100644 --- a/adb/jdwp_service.cpp +++ b/adb/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 |