diff options
author | Mathias Agopian <mathias@google.com> | 2017-02-28 15:06:51 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2017-03-03 14:47:47 -0800 |
commit | 22dbf3947fedf988e714a4703ddf85fc41413f90 (patch) | |
tree | ad823e9592de58265e4740a4d1ae251bfa260348 /libutils/Threads.cpp | |
parent | 6048d9db5f11045412504b533ea9a92a7df6354c (diff) | |
download | system_core-22dbf3947fedf988e714a4703ddf85fc41413f90.tar.gz system_core-22dbf3947fedf988e714a4703ddf85fc41413f90.tar.bz2 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/Threads.cpp')
-rw-r--r-- | libutils/Threads.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/libutils/Threads.cpp b/libutils/Threads.cpp index def739f9f..6317c32d4 100644 --- a/libutils/Threads.cpp +++ b/libutils/Threads.cpp @@ -18,16 +18,10 @@ #define LOG_TAG "libutils.threads" #include <assert.h> -#include <errno.h> -#include <memory.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <unistd.h> +#include <utils/Thread.h> +#include <utils/AndroidThreads.h> #if !defined(_WIN32) -# include <pthread.h> -# include <sched.h> # include <sys/resource.h> #else # include <windows.h> @@ -40,7 +34,6 @@ #include <sys/prctl.h> #endif -#include <utils/threads.h> #include <utils/Log.h> #include <cutils/sched_policy.h> |