X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=error.h;h=af6c0550ed4699a2e1b3debd32ee36876e80a994;hp=d54845d0253cda4cf609c2db1a8c52634ca5fa5a;hb=5c454a6e407f1cdcb4f479a7364802a6735f28cc;hpb=354729ae9ab2f166f03fde817ee3ab280de65b7d 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") \