driver: add dev_name inline
[barebox-mini2440.git] / include / errno.h
blob025816e067fed764c776acd74dfeef5054cc0add
1 #ifndef __ERRNO_H
2 #define __ERRNO_H
4 #include <asm-generic/errno.h>
6 extern int errno;
8 void perror(const char *s);
9 const char *errno_str(void);
10 const char *strerror(int errnum);
12 #endif /* __ERRNO_H */