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 /libc/bionic/pthread_internal.h | |
parent | 3374d0cabb973ff2b73ad8cd909389bdeed18658 (diff) | |
download | bionic-cbc80ba9d839675a0c4891e2ab33f39ba51b04b2.tar.gz |
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 'libc/bionic/pthread_internal.h')
-rw-r--r-- | libc/bionic/pthread_internal.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libc/bionic/pthread_internal.h b/libc/bionic/pthread_internal.h index a4cba879b..18f5aee2c 100644 --- a/libc/bionic/pthread_internal.h +++ b/libc/bionic/pthread_internal.h @@ -25,8 +25,8 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ -#ifndef _PTHREAD_INTERNAL_H_ -#define _PTHREAD_INTERNAL_H_ + +#pragma once #include <pthread.h> #include <stdatomic.h> @@ -172,5 +172,3 @@ __LIBC_HIDDEN__ void pthread_key_clean_all(void); __LIBC_HIDDEN__ extern void __bionic_atfork_run_prepare(); __LIBC_HIDDEN__ extern void __bionic_atfork_run_child(); __LIBC_HIDDEN__ extern void __bionic_atfork_run_parent(); - -#endif /* _PTHREAD_INTERNAL_H_ */ |