From cbc80ba9d839675a0c4891e2ab33f39ba51b04b2 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 13 Feb 2018 14:26:29 -0800 Subject: 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 --- libc/bionic/pthread_internal.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libc/bionic/pthread_internal.h') 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 #include @@ -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_ */ -- cgit v1.2.3