X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=error.h;h=6cb5deb7ab6919d9ffbe5be59bd59b634d0fd548;hb=b34e4c16f4eace121a603659b414837cb7e9e1ea;hp=d54845d0253cda4cf609c2db1a8c52634ca5fa5a;hpb=354729ae9ab2f166f03fde817ee3ab280de65b7d;p=dss.git diff --git a/error.h b/error.h index d54845d..6cb5deb 100644 --- a/error.h +++ b/error.h @@ -1,3 +1,8 @@ +/* + * Copyright (C) 2006-2008 Andre Noll + * + * Licensed under the GPL v2. For licencing details see COPYING. + */ extern char *dss_errlist[]; extern char *dss_error_txt; @@ -46,11 +51,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") \