summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2019-12-21 19:35:45 +0100
committerMatt Caswell <matt@openssl.org>2020-01-13 12:28:18 +0000
commit86a15d8366f4773d3f40510a4dc21bd5cc5c9974 (patch)
tree9d865471758caa5a449fe2cbeafcdbeace61b8cd /util
parentbbe486cf6154df3d3aaedbae6c5b82d4ed31a5f8 (diff)
improve 'typedef' patterns of find-doc-nits
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10673)
Diffstat (limited to 'util')
-rwxr-xr-xutil/find-doc-nits4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/find-doc-nits b/util/find-doc-nits
index 4b6d7c5e61..b9c72803a1 100755
--- a/util/find-doc-nits
+++ b/util/find-doc-nits
@@ -147,10 +147,10 @@ sub name_synopsis {
if ( $line =~ /env (\S*)=/ ) {
# environment variable env NAME=...
$sym = $1;
- } elsif ( $line =~ /typedef.*\(\*(\S+)\)\(.*/ ) {
+ } elsif ( $line =~ /typedef.*\(\*(\S+)\)\s*\(/ ) {
# a callback function pointer: typedef ... (*NAME)(...
$sym = $1;
- } elsif ( $line =~ /typedef.* (\S+)\(.*/ ) {
+ } elsif ( $line =~ /typedef.* (\S+)\(/ ) {
# a callback function signature: typedef ... NAME(...
$sym = $1;
} elsif ( $line =~ /typedef.* (\S+);/ ) {