summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-04-06 11:54:08 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-05-25 16:52:35 +0200
commit0f64e5c39d3a7803df49724f36170770f4ae1d48 (patch)
tree2f4bb72f67b3531a1c585392e2f4ded640c1e6cf /include
parent31c25dd6a3408e0f117eefc14477f693f8a73eb0 (diff)
downloadbarebox-0f64e5c39d3a7803df49724f36170770f4ae1d48.tar.gz
barebox-0f64e5c39d3a7803df49724f36170770f4ae1d48.tar.xz
add strerror function
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/errno.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/errno.h b/include/errno.h
index 56614262ef..025816e067 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -7,5 +7,6 @@ extern int errno;
void perror(const char *s);
const char *errno_str(void);
+const char *strerror(int errnum);
#endif /* __ERRNO_H */