summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Agopian2017-02-28 17:06:51 -0600
committerMathias Agopian2017-03-03 16:47:47 -0600
commit22dbf3947fedf988e714a4703ddf85fc41413f90 (patch)
treead823e9592de58265e4740a4d1ae251bfa260348 /libutils/Trace.cpp
parent6048d9db5f11045412504b533ea9a92a7df6354c (diff)
downloadplatform-system-core-22dbf3947fedf988e714a4703ddf85fc41413f90.tar.gz
platform-system-core-22dbf3947fedf988e714a4703ddf85fc41413f90.tar.xz
platform-system-core-22dbf3947fedf988e714a4703ddf85fc41413f90.zip
clean-up libutils includes
moved Foo.h as first include of Foo.cpp, and removed redundant includes. Made NativeHandle non virtual. Test: run & compile Bug: n/a Change-Id: I37fa746cd42c9ba23aba181f84cb6c619386406a
Diffstat (limited to 'libutils/Trace.cpp')
-rw-r--r--libutils/Trace.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/libutils/Trace.cpp b/libutils/Trace.cpp
index 36fd80214..8530fdca0 100644
--- a/libutils/Trace.cpp
+++ b/libutils/Trace.cpp
@@ -14,12 +14,11 @@
14 * limitations under the License. 14 * limitations under the License.
15 */ 15 */
16 16
17#include <utils/misc.h>
18#include <utils/Trace.h> 17#include <utils/Trace.h>
18#include <utils/misc.h>
19 19
20static void traceInit() __attribute__((constructor)); 20static void traceInit() __attribute__((constructor));
21 21
22static void traceInit() 22static void traceInit() {
23{
24 ::android::add_sysprop_change_callback(atrace_update_tags, 0); 23 ::android::add_sysprop_change_callback(atrace_update_tags, 0);
25} 24}