Add more source code documentation.
[dss.git] / error.h
diff --git a/error.h b/error.h
index b9cbfec373e060059d8c65ed7be5b5751527853c..af6c0550ed4699a2e1b3debd32ee36876e80a994 100644 (file)
--- a/error.h
+++ b/error.h
@@ -46,15 +46,9 @@ 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") \
-       DSS_ERROR(INVALID_COMMAND, "invalid command") \
        DSS_ERROR(ATOI_OVERFLOW, "value too large") \
        DSS_ERROR(STRTOLL, "unknown strtoll error") \
        DSS_ERROR(ATOI_NO_DIGITS, "no digits found in string") \