aboutsummaryrefslogtreecommitdiff
path: root/sources/android/libthread_db/thread_db.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-03-23 13:29:04 -0700
committerElliott Hughes <enh@google.com>2020-03-23 13:29:04 -0700
commit715f20250aaf565de693c3a77f40e54031be11e5 (patch)
tree729e104ff6831343caf7e1afd8014232b35b8c26 /sources/android/libthread_db/thread_db.h
parent5aec38c42f1e6da17437c72066e4a59beb5a265f (diff)
downloadndk-715f20250aaf565de693c3a77f40e54031be11e5.tar.gz
Switch the NDK source/ headers to #pragma once.
Because we look silly when our demo of IntelliSense in Visual Studio is only offering completions that are header file include guard spam. Bug: https://youtu.be/JXQBdMNDL7k?t=215 Test: treehugger Change-Id: I608e1e000dec3f4b4919263dfb5688f42c02b1b1
Diffstat (limited to 'sources/android/libthread_db/thread_db.h')
-rw-r--r--sources/android/libthread_db/thread_db.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sources/android/libthread_db/thread_db.h b/sources/android/libthread_db/thread_db.h
index 9ed419901..be57393e9 100644
--- a/sources/android/libthread_db/thread_db.h
+++ b/sources/android/libthread_db/thread_db.h
@@ -14,8 +14,7 @@
* limitations under the License.
*/
-#ifndef _LIBTHREAD_DB__THREAD_DB_H
-#define _LIBTHREAD_DB__THREAD_DB_H
+#pragma once
#include <pthread.h>
#include <signal.h>
@@ -173,5 +172,3 @@ extern td_err_e td_thr_tls_get_addr(const td_thrhandle_t*, psaddr_t, size_t, psa
#ifdef __cplusplus
}
#endif
-
-#endif