]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/errno.h
ARM: imx6: clocks: remove function local definitions of mxc_ccm_reg and anatop_regs
[karo-tx-uboot.git] / include / errno.h
1 #ifndef _ERRNO_H
2
3 #include <asm-generic/errno.h>
4
5 extern int errno;
6
7 #define __set_errno(val) do { errno = val; } while (0)
8
9 #ifdef CONFIG_ERRNO_STR
10 const char *errno_str(int errno);
11 #endif
12 #endif /* _ERRNO_H */