summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/bits/errno.h
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2001-07-11 13:47:45 +0000
committerDavid McCullough <davidm@snapgear.com>2001-07-11 13:47:45 +0000
commitce8ee8d9b401c9c2828df3457815c2f4ceed4900 (patch)
treefc27874f9403ddfd24357f56d87d6ffe08d8ae19 /libc/sysdeps/linux/mips/bits/errno.h
parent5882811b88767f26c75913ca2b2fffd05595a7b5 (diff)
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++.
Diffstat (limited to 'libc/sysdeps/linux/mips/bits/errno.h')
-rw-r--r--libc/sysdeps/linux/mips/bits/errno.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/mips/bits/errno.h b/libc/sysdeps/linux/mips/bits/errno.h
index e0c1dc5c6..53db5dd7b 100644
--- a/libc/sysdeps/linux/mips/bits/errno.h
+++ b/libc/sysdeps/linux/mips/bits/errno.h
@@ -28,6 +28,9 @@
# define ENOTSUP EOPNOTSUPP
# ifndef __ASSEMBLER__
+
+__BEGIN_DECLS
+
/* We now need a declaration of the `errno' variable. */
extern int errno;
@@ -43,6 +46,9 @@ extern int *__errno_location (void);
/* When using threads, errno is a per-thread value. */
# define errno (*__errno_location ())
# endif
+
+__END_DECLS
+
# endif /* !__ASSEMBLER__ */
#endif /* _ERRNO_H */