From ce8ee8d9b401c9c2828df3457815c2f4ceed4900 Mon Sep 17 00:00:00 2001 From: David McCullough Date: Wed, 11 Jul 2001 13:47:45 +0000 Subject: Added __BEGIN_DECLS and __END_DECLS to the files that didn't have it and that I could see needed it. Should be pretty low impact as these are only defined when using C++. --- libc/sysdeps/linux/arm/bits/errno.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/sysdeps/linux/arm/bits/errno.h') 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 */ -- cgit v1.2.3