blob: 14ac3cb10b00bab70a6916fe15adae6af0b838f3 [file] [log] [blame]
Wolfgang Denk65cd3fa2010-06-12 00:19:46 +02001#ifndef _ERRNO_H
2
3#include <asm-generic/errno.h>
4
5extern int errno;
6
7#define __set_errno(val) do { errno = val; } while (0)
8
Przemyslaw Marczak59345b12014-10-08 22:48:37 +02009#ifdef CONFIG_ERRNO_STR
10const char *errno_str(int errno);
11#endif
Wolfgang Denk65cd3fa2010-06-12 00:19:46 +020012#endif /* _ERRNO_H */