diff options
Diffstat (limited to 'sources/android/support/include')
-rw-r--r-- | sources/android/support/include/inttypes.h | 5 | ||||
-rw-r--r-- | sources/android/support/include/locale.h | 5 | ||||
-rw-r--r-- | sources/android/support/include/math.h | 5 | ||||
-rw-r--r-- | sources/android/support/include/stdlib.h | 5 | ||||
-rw-r--r-- | sources/android/support/include/uchar.h | 5 | ||||
-rw-r--r-- | sources/android/support/include/wchar.h | 5 | ||||
-rw-r--r-- | sources/android/support/include/wctype.h | 5 |
7 files changed, 7 insertions, 28 deletions
diff --git a/sources/android/support/include/inttypes.h b/sources/android/support/include/inttypes.h index 00887bca5..834ab9170 100644 --- a/sources/android/support/include/inttypes.h +++ b/sources/android/support/include/inttypes.h @@ -26,8 +26,7 @@ * SUCH DAMAGE. */ -#ifndef NDK_ANDROID_SUPPORT_INTTYPES_H -#define NDK_ANDROID_SUPPORT_INTTYPES_H +#pragma once #include_next <inttypes.h> @@ -44,5 +43,3 @@ uintmax_t wcstoumax(const wchar_t* __restrict, wchar_t** __restrict, int); #endif __END_DECLS - -#endif diff --git a/sources/android/support/include/locale.h b/sources/android/support/include/locale.h index 72f847b38..9443f211b 100644 --- a/sources/android/support/include/locale.h +++ b/sources/android/support/include/locale.h @@ -26,8 +26,7 @@ * SUCH DAMAGE. */ -#ifndef NDK_ANDROID_SUPPORT_LOCALE_H -#define NDK_ANDROID_SUPPORT_LOCALE_H +#pragma once #include_next <locale.h> @@ -42,5 +41,3 @@ locale_t uselocale(locale_t); #endif __END_DECLS - -#endif diff --git a/sources/android/support/include/math.h b/sources/android/support/include/math.h index 11d50cc95..8c29c6b47 100644 --- a/sources/android/support/include/math.h +++ b/sources/android/support/include/math.h @@ -26,8 +26,7 @@ * SUCH DAMAGE. */ -#ifndef NDK_ANDROID_SUPPORT_MATH_H -#define NDK_ANDROID_SUPPORT_MATH_H +#pragma once #include_next <math.h> @@ -80,5 +79,3 @@ long long int llrintl(long double); #endif __END_DECLS - -#endif diff --git a/sources/android/support/include/stdlib.h b/sources/android/support/include/stdlib.h index 93e384d90..e52e8ce58 100644 --- a/sources/android/support/include/stdlib.h +++ b/sources/android/support/include/stdlib.h @@ -26,8 +26,7 @@ * SUCH DAMAGE. */ -#ifndef NDK_ANDROID_SUPPORT_STDLIB_H -#define NDK_ANDROID_SUPPORT_STDLIB_H +#pragma once #include_next <stdlib.h> @@ -47,5 +46,3 @@ void quick_exit(int) __noreturn; #endif __END_DECLS - -#endif diff --git a/sources/android/support/include/uchar.h b/sources/android/support/include/uchar.h index 42942c415..88e508630 100644 --- a/sources/android/support/include/uchar.h +++ b/sources/android/support/include/uchar.h @@ -26,8 +26,7 @@ * SUCH DAMAGE. */ -#ifndef NDK_ANDROID_SUPPORT_UCHAR_H -#define NDK_ANDROID_SUPPORT_UCHAR_H +#pragma once #include_next <uchar.h> @@ -41,5 +40,3 @@ size_t mbrtoc32(char32_t* __restrict, const char* __restrict, size_t, mbstate_t* #endif __END_DECLS - -#endif diff --git a/sources/android/support/include/wchar.h b/sources/android/support/include/wchar.h index 9152cfee9..edf5bd54d 100644 --- a/sources/android/support/include/wchar.h +++ b/sources/android/support/include/wchar.h @@ -26,8 +26,7 @@ * SUCH DAMAGE. */ -#ifndef NDK_ANDROID_SUPPORT_WCHAR_H -#define NDK_ANDROID_SUPPORT_WCHAR_H +#pragma once #include_next <wchar.h> @@ -45,5 +44,3 @@ unsigned long long wcstoull(const wchar_t*, wchar_t**, int); #endif __END_DECLS - -#endif diff --git a/sources/android/support/include/wctype.h b/sources/android/support/include/wctype.h index 31d015d12..e66c37219 100644 --- a/sources/android/support/include/wctype.h +++ b/sources/android/support/include/wctype.h @@ -26,8 +26,7 @@ * SUCH DAMAGE. */ -#ifndef NDK_ANDROID_SUPPORT_WCTYPE_H -#define NDK_ANDROID_SUPPORT_WCTYPE_H +#pragma once #include_next <wctype.h> @@ -39,5 +38,3 @@ static __inline int iswblank(wint_t ch) { return isblank(ch); } #endif __END_DECLS - -#endif |