diff options
author | Elliott Hughes <enh@google.com> | 2018-02-13 14:26:29 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2018-02-13 14:27:17 -0800 |
commit | cbc80ba9d839675a0c4891e2ab33f39ba51b04b2 (patch) | |
tree | 0b24e6123c94bd3e61d94fd6eca6a3b9cc9b074e /benchmarks | |
parent | 3374d0cabb973ff2b73ad8cd909389bdeed18658 (diff) | |
download | android_bionic-cbc80ba9d839675a0c4891e2ab33f39ba51b04b2.tar.gz android_bionic-cbc80ba9d839675a0c4891e2ab33f39ba51b04b2.tar.bz2 android_bionic-cbc80ba9d839675a0c4891e2ab33f39ba51b04b2.zip |
Switch the rest of our internal headers to #pragma once.
We've been using #pragma once for new internal files, but let's be more bold.
Bug: N/A
Test: builds
Change-Id: I7e2ee2730043bd884f9571cdbd8b524043030c07
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/util.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/benchmarks/util.h b/benchmarks/util.h index 3225bc298..d9e10f40e 100644 --- a/benchmarks/util.h +++ b/benchmarks/util.h @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef _BIONIC_BENCHMARKS_UTIL_H_ -#define _BIONIC_BENCHMARKS_UTIL_H_ +#pragma once #include <map> #include <mutex> @@ -62,5 +61,3 @@ wchar_t* GetAlignedPtr(std::vector<wchar_t>* buf, size_t alignment, size_t nbyte char* GetAlignedPtrFilled(std::vector<char>* buf, size_t alignment, size_t nbytes, char fill_byte); bool LockToCPU(long cpu_to_lock); - -#endif // _BIONIC_BENCHMARKS_UTIL_H |