diff options
author | João Valverde <j@v6e.pt> | 2023-02-06 10:36:41 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2023-02-06 15:52:10 +0000 |
commit | 02238edf92978091d114041a35c9db16604296d9 (patch) | |
tree | 24f3d9c3e2964db9307526221cb6d7c122f604a4 /tools | |
parent | 71cfbd81b33685eddde52fbaf12fd0ddced53f79 (diff) |
Do not require using wsgcrypt.h
The reason to use wsgcrypt.h was to wrap it around DIAG_OFF()
macros and that should no longer be necessary.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/checkAPIs.pl | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl index d943338876..f43d5dbd46 100755 --- a/tools/checkAPIs.pl +++ b/tools/checkAPIs.pl @@ -534,19 +534,6 @@ sub check_included_files($$) @incFiles = (${$fileContentsRef} =~ m/\#include \s* ([<"].+[>"])/gox); - # only our wrapper file wsutils/wsgcrypt.h may include gcrypt.h - # all other files should include the wrapper - if ($filename !~ /wsgcrypt\.h/) { - foreach (@incFiles) { - if ( m#([<"]|/+)gcrypt\.h[>"]$# ) { - print STDERR "Warning: ".$filename. - " includes gcrypt.h directly. ". - "Include wsutil/wsgcrypt.h instead.\n"; - last; - } - } - } - # files in the ui/qt directory should include the ui class includes # by using #include <> # this ensures that Visual Studio picks up these files from the |