summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-10-14 12:46:49 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-10-14 12:46:49 +0200
commit3b9ce49e17897cc053ed8416685e79902d7432a1 (patch)
tree324019c1b5ad3c9cf8dce274291008d6ff4d49e7 /include
parentd2bb6342d6a812f3ff0dcf17180c0b01b85cacfb (diff)
parent9699096f1eccd742d898f471b046181ea90dd582 (diff)
downloadbarebox-3b9ce49e17897cc053ed8416685e79902d7432a1.tar.gz
barebox-3b9ce49e17897cc053ed8416685e79902d7432a1.tar.xz
Merge branch 'for-next/percent_pe' into master
Diffstat (limited to 'include')
-rw-r--r--include/errno.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/errno.h b/include/errno.h
index 50f00de5d6..262c9fc3eb 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -11,9 +11,4 @@ void perror(const char *s);
const char *errno_str(void);
const char *strerror(int errnum);
-static inline const char *strerrorp(const void *errp)
-{
- return strerror(-PTR_ERR(errp));
-}
-
#endif /* __ERRNO_H */