From: Alex Rousskov Date: Mon, 10 Jan 2022 21:36:46 +0000 (+0000) Subject: Fix gawk v5 warning (#961) X-Git-Tag: SQUID_6_0_1~253 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a00584a13044548c8effc19b94c96e6211f13200;p=thirdparty%2Fsquid.git Fix gawk v5 warning (#961) gawk: ./mk-globals-c.awk:24: warning: regexp escape sequence \" is not a known regexp operator Some awk variants complain about what they perceive as invalid escape sequences. Gawk v5+ works but complains about us escaping double quotes. The corresponding awk statement (added in commit 42c674f) is unnecessary since commit 582c2af. Removing that statement is better than trying to guess its portable spelling in the gray zone of awk escape sequences. --- diff --git a/src/mk-globals-c.awk b/src/mk-globals-c.awk index cd4a68f39e..3f457bd7f7 100644 --- a/src/mk-globals-c.awk +++ b/src/mk-globals-c.awk @@ -21,7 +21,6 @@ Copyright != 1 { print; next } # arrays defined elsewhere /\[\];/ { next } -/^extern \"C\"/ { print; next } # # Check exactly for lines beginning with " extern", generated