diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-10-10 08:11:15 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-10-11 16:46:25 +0200 |
commit | 1584967e9c1af7aed72658e9f742bad19b6284d3 (patch) | |
tree | 896d450338e4fca29f82bd7053440d003bda2342 /include | |
parent | b6c514bd1c2e13955ddd6a26df2c33ae74f17d0b (diff) | |
download | barebox-1584967e9c1af7aed72658e9f742bad19b6284d3.tar.gz barebox-1584967e9c1af7aed72658e9f742bad19b6284d3.tar.xz |
common: misc: remove now unused errno_str
With all errno_str() instanced removed in a previous commit, we can drop
the now unused definition. New code should use
printf("message: %m\n");
instead of
printf("message: %s\n", errno_str());
or just use strerror(...) directly.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20221010061122.2084009-4-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/errno.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/errno.h b/include/errno.h index 262c9fc3eb..1644265966 100644 --- a/include/errno.h +++ b/include/errno.h @@ -8,7 +8,6 @@ extern int errno; void perror(const char *s); -const char *errno_str(void); const char *strerror(int errnum); #endif /* __ERRNO_H */ |