summaryrefslogtreecommitdiff
path: root/error.h
diff options
context:
space:
mode:
authorAndre Noll <maan@systemlinux.org>2008-03-22 12:09:40 +0100
committerAndre Noll <maan@systemlinux.org>2008-03-22 12:09:40 +0100
commitdefca4768aa9b02fca97b63159dd261e4871a3ce (patch)
tree442e855d3bf230ea1bd30479031f850409347437 /error.h
parentd174ceb61c3de4cf4bb181b071c8becd9d68f6f0 (diff)
Get rid of make_err_msg() and log_err_msg().
It's too error-prone to be useful.
Diffstat (limited to 'error.h')
-rw-r--r--error.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/error.h b/error.h
index d54845d..af6c055 100644
--- a/error.h
+++ b/error.h
@@ -46,11 +46,6 @@ static inline char *dss_strerror(int num)
return dss_errlist[num];
}
-static inline void log_err_msg(int loglevel, int num)
-{
- dss_log(loglevel, "%s (%s)\n", dss_error_txt, dss_strerror(num));
-}
-
#define DSS_ERRORS \
DSS_ERROR(SUCCESS, "success") \
DSS_ERROR(SYNTAX, "syntax error") \