summaryrefslogtreecommitdiff
path: root/lib/errno.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-06-12 00:19:46 +0200
committerWolfgang Denk <wd@denx.de>2010-09-19 19:29:47 +0200
commit65cd3fa81ff48cd44bcb3d9baf646dade15b9131 (patch)
tree93b87979aa8ca6b200923a1f18eabc4381e313d8 /lib/errno.c
parenta2a649d73cc24c306b66cd53d939d1776e6f4e41 (diff)
downloadu-boot-imx-65cd3fa81ff48cd44bcb3d9baf646dade15b9131.zip
u-boot-imx-65cd3fa81ff48cd44bcb3d9baf646dade15b9131.tar.gz
u-boot-imx-65cd3fa81ff48cd44bcb3d9baf646dade15b9131.tar.bz2
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>
Diffstat (limited to 'lib/errno.c')
-rw-r--r--lib/errno.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/errno.c b/lib/errno.c
new file mode 100644
index 0000000..8330a8f
--- /dev/null
+++ b/lib/errno.c
@@ -0,0 +1 @@
+int errno = 0;