projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Another occurance of possible valgrind/purify "uninitialized memory"
[oweals/openssl.git]
/
util
/
mkerr.pl
diff --git
a/util/mkerr.pl
b/util/mkerr.pl
index aac87bbf3b8f8186426edb654b9ffb9dcd44fa81..6004853bc166ef1614e8cf26b7339711ccd42751 100644
(file)
--- a/
util/mkerr.pl
+++ b/
util/mkerr.pl
@@
-377,6
+377,10
@@
foreach $lib (keys %csrc)
"#ifndef HEADER_${lib}_ERR_H\n",
"#define HEADER_${lib}_ERR_H\n",
"\n",
+"#ifdef __cplusplus\n",
+"extern \"C\" {\n",
+"#endif\n",
+"\n",
"/* BEGIN ERROR CODES */\n";
}
open (OUT, ">$hfile") || die "Can't Open File $hfile for writing\n";