X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=errlog.c;h=b9b39cb4091c32c3f376df584094d110620861d1;hp=21e062db77ad6be99f5c3d498660dd98d58fe3f5;hb=5ebd34909514f88d4be808a30d58aeee9e90fac5;hpb=5ca53f92bc634c20fed90f338ac41561f87b834c diff --git a/errlog.c b/errlog.c index 21e062db..b9b39cb4 100644 --- a/errlog.c +++ b/errlog.c @@ -964,17 +964,13 @@ void log_error(int loglevel, const char *fmt, ...) * * Description : Translates JB_ERR_FOO codes into strings. * - * XXX: the type of error codes is jb_err - * but the typedef'inition is currently not - * visible to all files that include errlog.h. - * * Parameters : * 1 : jb_error = a valid jb_err code * * Returns : A string with the jb_err translation * *********************************************************************/ -const char *jb_err_to_string(int jb_error) +const char *jb_err_to_string(jb_err jb_error) { switch (jb_error) {