artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02e56ea
)
Two minor tweaks that are useful for processing bio.h, among other headers:
author
schwarze
<schwarze@openbsd.org>
Fri, 7 Apr 2023 15:39:18 +0000
(15:39 +0000)
committer
schwarze
<schwarze@openbsd.org>
Fri, 7 Apr 2023 15:39:18 +0000
(15:39 +0000)
* ignore lines defining "__bounded__()"
* ignore whitespace between "#" and "include"
regress/lib/libcrypto/man/check_complete.pl
patch
|
blob
|
history
diff --git
a/regress/lib/libcrypto/man/check_complete.pl
b/regress/lib/libcrypto/man/check_complete.pl
index
26fb565
..
af99d2d
100755
(executable)
--- 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$/) {