Skip to content
Snippets Groups Projects
Commit 65cd3fa8 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

Add basic errno support.


Needed for hash table support; probably useful in a lot of other
places as well.

Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
parent a2a649d7
No related branches found
No related tags found
No related merge requests found
#ifndef _ERRNO_H
#include <asm-generic/errno.h>
extern int errno;
#define __set_errno(val) do { errno = val; } while (0)
#endif /* _ERRNO_H */
......@@ -37,6 +37,7 @@ COBJS-y += crc32.o
COBJS-y += ctype.o
COBJS-y += display_options.o
COBJS-y += div64.o
COBJS-y += errno.o
COBJS-$(CONFIG_GZIP) += gunzip.o
COBJS-$(CONFIG_LMB) += lmb.o
COBJS-y += ldiv.o
......
int errno = 0;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment