summaryrefslogtreecommitdiff
path: root/regress/lib/libcrypto/man
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2023-04-07 15:39:19 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2023-04-07 15:39:19 +0000
commit9394d72c02d7d00aeeaa838e9ab4f05ed0be4330 (patch)
treee5f6c2ba9d316dc489ad3320c651c24c2695b80e /regress/lib/libcrypto/man
parent601df84f9fba68f0a4f99202d493e683bfa54e5d (diff)
Two minor tweaks that are useful for processing bio.h, among other headers:
* ignore lines defining "__bounded__()" * ignore whitespace between "#" and "include"
Diffstat (limited to 'regress/lib/libcrypto/man')
-rwxr-xr-xregress/lib/libcrypto/man/check_complete.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/lib/libcrypto/man/check_complete.pl b/regress/lib/libcrypto/man/check_complete.pl
index 26fb5654114..af99d2dc5f7 100755
--- a/regress/lib/libcrypto/man/check_complete.pl
+++ b/regress/lib/libcrypto/man/check_complete.pl
@@ -217,11 +217,12 @@ try_again:
if (/^\s*$/ ||
/^DECLARE_STACK_OF\(\w+\)$/ ||
/^TYPEDEF_D2I2D_OF\(\w+\);$/ ||
+ /^#define __bounded__\(\w+, \w+, \w+\)$/ ||
/^#define HEADER_\w+_H$/ ||
/^#endif$/ ||
/^#else$/ ||
/^extern\s+const\s+ASN1_ITEM\s+\w+_it;$/ ||
- /^#include\s/ ||
+ /^#\s*include\s/ ||
/^#ifn?def\s/ ||
/^#if !?defined/ ||
/^#undef\s+BN_LLONG$/) {