summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/powerpc/bits/errno.h
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2001-10-15 22:22:32 +0000
committerDavid Schleef <ds@schleef.org>2001-10-15 22:22:32 +0000
commita70d09955b8fe499a1368b1701971f206cf6d752 (patch)
treed08ac1bee868cc91483c99ad10c9c823f53453ba /libc/sysdeps/linux/powerpc/bits/errno.h
parente66d628551d918d4ee89d67fe62b627cae27d210 (diff)
Merged patch from pre-glibc-2.2.4 files
Diffstat (limited to 'libc/sysdeps/linux/powerpc/bits/errno.h')
-rw-r--r--libc/sysdeps/linux/powerpc/bits/errno.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/powerpc/bits/errno.h b/libc/sysdeps/linux/powerpc/bits/errno.h
index ac59d4c9d..e1300321d 100644
--- a/libc/sysdeps/linux/powerpc/bits/errno.h
+++ b/libc/sysdeps/linux/powerpc/bits/errno.h
@@ -32,6 +32,9 @@
# define ECANCELED 125
# ifndef __ASSEMBLER__
+
+__BEGIN_DECLS
+
/* We now need a declaration of the `errno' variable. */
extern int errno;
@@ -47,6 +50,9 @@ extern int *__errno_location (void) __THROW __attribute__ ((__const__));
/* When using threads, errno is a per-thread value. */
# define errno (*__errno_location ())
# endif
+
+__END_DECLS
+
# endif /* !__ASSEMBLER__ */
#endif /* _ERRNO_H */