From: Lee Date: Sat, 21 Apr 2018 18:46:03 +0000 (-0400) Subject: get rid of a compiler warning X-Git-Tag: v_3_0_27~56 X-Git-Url: http://www.privoxy.org/gitweb/user-manual/copyright.html?a=commitdiff_plain;h=c79bcf8fae8bb73f7c5a61c387fcbb2db2690536;p=privoxy.git get rid of a compiler warning urlmatch.c:494:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration] jb_err static normalize_http_version(char *http_version) ^~~~~~ swap 'jb_err' and 'static' so that ‘static’ is at beginning of declaration --- diff --git a/urlmatch.c b/urlmatch.c index c8029d84..dcef8787 100644 --- a/urlmatch.c +++ b/urlmatch.c @@ -491,7 +491,7 @@ static int unknown_method(const char *method) * JB_ERR_PARSE if the HTTP version is unsupported * *********************************************************************/ -jb_err static normalize_http_version(char *http_version) +static jb_err normalize_http_version(char *http_version) { unsigned int major_version; unsigned int minor_version;