X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=error.h;h=af6c0550ed4699a2e1b3debd32ee36876e80a994;hp=b9cbfec373e060059d8c65ed7be5b5751527853c;hb=333c11eb6772cc3a020ae1ab354512519a3771b9;hpb=c418d2188c9c2c542270023d6fc3bc6cf34f8d29 diff --git a/error.h b/error.h index b9cbfec..af6c055 100644 --- 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") \