]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - util/perl/OpenSSL/ParseC.pm
Replumbing: Add the Provider Object, type OSSL_PROVIDER
[thirdparty/openssl.git] / util / perl / OpenSSL / ParseC.pm
index 7a13930d1ae7a1b86c6eddf24b1269c35a353be5..59b08e8dcacf12afbc0199d7abb1eb275251da51 100644 (file)
@@ -578,6 +578,15 @@ my @chandlers = (
     { regexp   => qr/extern "C" (.*;)/,
       massager => sub { return ($1); },
     },
+    # any other extern is just ignored
+    { regexp   => qr/^\s*                       # Any spaces before
+                     extern                     # The keyword we look for
+                     \b                         # word to non-word boundary
+                     .*                         # Anything after
+                     ;
+                    /x,
+      massager => sub { return (); },
+    },
     # union, struct and enum definitions
     # Because this one might appear a little everywhere within type
     # definitions, we take it out and replace it with just