aboutsummaryrefslogtreecommitdiff
path: root/libc/upstream-netbsd/android/include/netbsd-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/upstream-netbsd/android/include/netbsd-compat.h')
-rw-r--r--libc/upstream-netbsd/android/include/netbsd-compat.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/upstream-netbsd/android/include/netbsd-compat.h b/libc/upstream-netbsd/android/include/netbsd-compat.h
index af5ae2927..ea630b273 100644
--- a/libc/upstream-netbsd/android/include/netbsd-compat.h
+++ b/libc/upstream-netbsd/android/include/netbsd-compat.h
@@ -14,8 +14,7 @@
* limitations under the License.
*/
-#ifndef _BIONIC_NETBSD_COMPAT_H_included
-#define _BIONIC_NETBSD_COMPAT_H_included
+#pragma once
#define _BSD_SOURCE
#define _GNU_SOURCE
@@ -47,5 +46,3 @@ int reallocarr(void*, size_t, size_t);
/* Use appropriate shell depending on process's executable. */
__LIBC_HIDDEN__ extern const char* __bionic_get_shell_path();
#define _PATH_BSHELL __bionic_get_shell_path()
-
-#endif