summaryrefslogtreecommitdiff
path: root/include/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 /include/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 'include/errno.h')
-rw-r--r--include/errno.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/errno.h b/include/errno.h
index da7f7a0e4..aa7e6bcae 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -4,6 +4,8 @@
#include <features.h>
#include <bits/errno.h>
+__BEGIN_DECLS
+
extern int sys_nerr;
extern const char *const sys_errlist[];
@@ -16,5 +18,6 @@ extern int errno;
extern void perror __P ((__const char* __s));
extern char* strerror __P ((int __errno));
+__END_DECLS
#endif