aboutsummaryrefslogtreecommitdiff
path: root/src/util/makeblob.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/makeblob.pl')
-rwxr-xr-xsrc/util/makeblob.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/makeblob.pl b/src/util/makeblob.pl
index 55badce..4a4fa8c 100755
--- a/src/util/makeblob.pl
+++ b/src/util/makeblob.pl
@@ -61,7 +61,7 @@ EOF
print FILE "\n";
if (! $done) {
- print FILE "struct datainfo const cactus_data_${fcount_next}_${thorn};\n";
+ print FILE "extern struct datainfo const cactus_data_${fcount_next}_${thorn};\n";
}
print FILE "struct datainfo const cactus_data_${fcount}_${thorn} =\n";
print FILE "{\n";
@@ -104,7 +104,7 @@ struct sourceinfo
char const * thorn;
};
-struct datainfo const cactus_data_0000_$thorn;
+extern struct datainfo const cactus_data_0000_$thorn;
struct sourceinfo const cactus_source_$thorn =
{
& cactus_data_0000_$thorn,