docs: make all examples in all libcurl man pages compile

Closes #12448
This commit is contained in:
Daniel Stenberg 2023-12-04 10:50:42 +01:00
parent 3c4fba8cf5
commit cb521d1f9a
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
478 changed files with 5989 additions and 3861 deletions

View file

@ -50,8 +50,6 @@ sub extract {
open(F, "<$f");
open(O, ">$cfile");
print O "#include <curl/curl.h>\n";
print O "extern struct CURLM *multi;\n";
print O "extern struct CURL *easy;\n";
while(<F>) {
$iline++;
if(/^.SH EXAMPLE/) {