diff options
| author | Andre Noll <maan@systemlinux.org> | 2008-03-22 12:09:40 +0100 |
|---|---|---|
| committer | Andre Noll <maan@systemlinux.org> | 2008-03-22 12:09:40 +0100 |
| commit | defca4768aa9b02fca97b63159dd261e4871a3ce (patch) | |
| tree | 442e855d3bf230ea1bd30479031f850409347437 /error.h | |
| parent | d174ceb61c3de4cf4bb181b071c8becd9d68f6f0 (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.h | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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") \ |
