diff options
author | Tom Rini <trini@ti.com> | 2014-12-11 20:47:34 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-12-11 20:47:34 -0500 |
commit | a5a58826110eb3da2956c6b3213bd750e166d75c (patch) | |
tree | 50d21157a7118c6b2b13e7763452332f2d9b51fd /include/errno.h | |
parent | fc9b0b80435cda721fbdbe507c9e4f388b0ea62b (diff) | |
parent | b0e6ef46405353270595ffa35c21f4334c541189 (diff) |
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'include/errno.h')
-rw-r--r-- | include/errno.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/errno.h b/include/errno.h index e24a33b386f..14ac3cb10b0 100644 --- a/include/errno.h +++ b/include/errno.h @@ -6,4 +6,7 @@ extern int errno; #define __set_errno(val) do { errno = val; } while (0) +#ifdef CONFIG_ERRNO_STR +const char *errno_str(int errno); +#endif #endif /* _ERRNO_H */ |