X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=errlog.c;h=b9b39cb4091c32c3f376df584094d110620861d1;hp=559069daec28c4f6a1cc848de661c77231b4a987;hb=c6ae2ae325d235baed559fa8227e278e96efc68c;hpb=1e3471c05f279e9f4ebead3a943512d8919a70f3 diff --git a/errlog.c b/errlog.c index 559069da..b9b39cb4 100644 --- a/errlog.c +++ b/errlog.c @@ -1,4 +1,3 @@ -const char errlog_rcs[] = "$Id: errlog.c,v 1.129 2017/05/29 10:06:57 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/errlog.c,v $ @@ -79,9 +78,6 @@ const char errlog_rcs[] = "$Id: errlog.c,v 1.129 2017/05/29 10:06:57 fabiankeil #include "jbsockets.h" #endif -const char errlog_h_rcs[] = ERRLOG_H_VERSION; - - /* * LOG_LEVEL_FATAL cannot be turned off. (There are * some exceptional situations where we need to get a @@ -968,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) {