result of -fall-defs-global
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@284 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/tests/19-param-OK.asn1.-P b/tests/19-param-OK.asn1.-P
index c69a75b..5f31e82 100644
--- a/tests/19-param-OK.asn1.-P
+++ b/tests/19-param-OK.asn1.-P
@@ -105,6 +105,7 @@
-1, /* Start extensions */
-1 /* Stop extensions */
};
+static /* Use -fall-defs-global to expose */
asn1_TYPE_descriptor_t asn1_DEF_toBeSigned = {
"toBeSigned",
SEQUENCE_constraint,
diff --git a/tests/31-set-of-OK.asn1.-P b/tests/31-set-of-OK.asn1.-P
index 0178f29..be7e123 100644
--- a/tests/31-set-of-OK.asn1.-P
+++ b/tests/31-set-of-OK.asn1.-P
@@ -201,6 +201,7 @@
sizeof(struct trees),
offsetof(struct trees, _ber_dec_ctx),
};
+static /* Use -fall-defs-global to expose */
asn1_TYPE_descriptor_t asn1_DEF_trees = {
"trees",
SET_OF_constraint,
@@ -242,6 +243,7 @@
0, /* Start extensions */
2 /* Stop extensions */
};
+static /* Use -fall-defs-global to expose */
asn1_TYPE_descriptor_t asn1_DEF_anything_member = {
"",
SEQUENCE_constraint,
@@ -276,6 +278,7 @@
sizeof(struct anything),
offsetof(struct anything, _ber_dec_ctx),
};
+static /* Use -fall-defs-global to expose */
asn1_TYPE_descriptor_t asn1_DEF_anything = {
"anything",
SET_OF_constraint,
diff --git a/tests/39-sequence-of-OK.asn1.-P b/tests/39-sequence-of-OK.asn1.-P
index 6a8553b..9a49a79 100644
--- a/tests/39-sequence-of-OK.asn1.-P
+++ b/tests/39-sequence-of-OK.asn1.-P
@@ -45,6 +45,7 @@
sizeof(struct collection),
offsetof(struct collection, _ber_dec_ctx),
};
+static /* Use -fall-defs-global to expose */
asn1_TYPE_descriptor_t asn1_DEF_collection = {
"collection",
SEQUENCE_OF_constraint,
diff --git a/tests/42-real-life-OK.asn1.-PR b/tests/42-real-life-OK.asn1.-PR
index d4da365..04ee81a 100644
--- a/tests/42-real-life-OK.asn1.-PR
+++ b/tests/42-real-life-OK.asn1.-PR
@@ -81,6 +81,7 @@
sizeof(struct varsets),
offsetof(struct varsets, _ber_dec_ctx),
};
+static /* Use -fall-defs-global to expose */
asn1_TYPE_descriptor_t asn1_DEF_varsets = {
"varsets",
SEQUENCE_OF_constraint,
@@ -222,6 +223,7 @@
sizeof(struct vparts),
offsetof(struct vparts, _ber_dec_ctx),
};
+static /* Use -fall-defs-global to expose */
asn1_TYPE_descriptor_t asn1_DEF_vparts = {
"vparts",
SEQUENCE_OF_constraint,
@@ -391,6 +393,7 @@
sizeof(struct vset),
offsetof(struct vset, _ber_dec_ctx),
};
+static /* Use -fall-defs-global to expose */
asn1_TYPE_descriptor_t asn1_DEF_vset = {
"vset",
SET_OF_constraint,
@@ -440,6 +443,7 @@
1, /* Start extensions */
3 /* Stop extensions */
};
+static /* Use -fall-defs-global to expose */
asn1_TYPE_descriptor_t asn1_DEF_vrange = {
"vrange",
SEQUENCE_constraint,
@@ -574,6 +578,7 @@
sizeof(struct email),
offsetof(struct email, _ber_dec_ctx),
};
+static /* Use -fall-defs-global to expose */
asn1_TYPE_descriptor_t asn1_DEF_email = {
"email",
SET_OF_constraint,
@@ -623,6 +628,7 @@
1, /* Start extensions */
3 /* Stop extensions */
};
+static /* Use -fall-defs-global to expose */
asn1_TYPE_descriptor_t asn1_DEF_notify = {
"notify",
SEQUENCE_constraint,
diff --git a/tests/44-choice-in-sequence-OK.asn1.-P b/tests/44-choice-in-sequence-OK.asn1.-P
index 1d7c190..b4d9c71 100644
--- a/tests/44-choice-in-sequence-OK.asn1.-P
+++ b/tests/44-choice-in-sequence-OK.asn1.-P
@@ -97,6 +97,7 @@
2, /* Count of tags in the map */
0 /* Whether extensible */
};
+static /* Use -fall-defs-global to expose */
asn1_TYPE_descriptor_t asn1_DEF_e = {
"e",
CHOICE_constraint,
@@ -143,6 +144,7 @@
2, /* Count of tags in the map */
0 /* Whether extensible */
};
+static /* Use -fall-defs-global to expose */
asn1_TYPE_descriptor_t asn1_DEF_h = {
"h",
CHOICE_constraint,
@@ -206,6 +208,7 @@
5, /* Count of tags in the map */
0 /* Whether extensible */
};
+static /* Use -fall-defs-global to expose */
asn1_TYPE_descriptor_t asn1_DEF_b = {
"b",
CHOICE_constraint,