u-boot/include/errno.h
Wolfgang Denk 65cd3fa81f Add basic errno support.
Needed for hash table support; probably useful in a lot of other
places as well.

Signed-off-by: Wolfgang Denk <wd@denx.de>
2010-09-19 19:29:47 +02:00

9 lines
147 B
C

#ifndef _ERRNO_H
#include <asm-generic/errno.h>
extern int errno;
#define __set_errno(val) do { errno = val; } while (0)
#endif /* _ERRNO_H */