projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ls1043ardb: PPA: add PPA validation in case of secure boot
[oweals/u-boot.git]
/
include
/
errno.h
diff --git
a/include/errno.h
b/include/errno.h
index 39426818e0c6215aa91b286c8c26906e468dac0a..15ece2f97f36e067c3b1327722fa4f74ec38e29a 100644
(file)
--- a/
include/errno.h
+++ b/
include/errno.h
@@
-15,5
+15,10
@@
extern int errno;
#ifdef CONFIG_ERRNO_STR
const char *errno_str(int errno);
+#else
+static inline const char *errno_str(int errno)
+{
+ return 0;
+}
#endif
#endif /* _ERRNO_H */