OSDN Git Service

Added __BEGIN_DECLS and __END_DECLS to the files that didn't have
[uclinux-h8/uClibc.git] / include / errno.h
1 #ifndef _ERRNO_H
2 #define _ERRNO_H
3
4 #include <features.h>
5 #include <bits/errno.h>
6
7 __BEGIN_DECLS
8
9 extern int sys_nerr;
10 extern const char *const sys_errlist[];
11
12 #define _sys_nerr sys_nerr
13 #define _sys_errlist sys_errlist
14
15 #ifndef errno
16 extern int      errno;
17 #endif
18 extern void     perror __P ((__const char* __s));
19 extern char*    strerror __P ((int __errno));
20
21 __END_DECLS
22
23 #endif