+/*
+ * Copyright (C) 2006-2008 Andre Noll <maan@systemlinux.org>
+ *
+ * Licensed under the GPL v2. For licencing details see COPYING.
+ */
extern char *dss_errlist[];
extern char *dss_error_txt;
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") \