summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/bits/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/arm/bits/errno.h')
-rw-r--r--libc/sysdeps/linux/arm/bits/errno.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/arm/bits/errno.h b/libc/sysdeps/linux/arm/bits/errno.h
index 0c33c9c0a..ba3049599 100644
--- a/libc/sysdeps/linux/arm/bits/errno.h
+++ b/libc/sysdeps/linux/arm/bits/errno.h
@@ -32,6 +32,7 @@
# define ECANCELED 125
# ifndef __ASSEMBLER__
+ __BEGIN_DECLS
/* We now need a declaration of the `errno' variable. */
extern int errno;
@@ -47,6 +48,7 @@ extern int *__errno_location (void) __attribute__ ((__const__));
/* When using threads, errno is a per-thread value. */
# define errno (*__errno_location ())
# endif
+ __END_DECLS
# endif /* !__ASSEMBLER__ */
#endif /* _ERRNO_H */