summaryrefslogtreecommitdiffstats
path: root/crypto/objects/objxref.pl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-01-06 02:54:18 +0000
committerDr. Stephen Henson <steve@openssl.org>2016-01-07 18:00:51 +0000
commit4a1f3f274108e25b97bd9870170fe2970892e155 (patch)
tree45e10bfbd19cec70d44d079d677b9852f12a501e /crypto/objects/objxref.pl
parent858857157290dd35145b14044ae96be9cd8eb0df (diff)
Only declare stacks in headers
Don't define stacks in C source files: it causes warnings about unused functions in some compilers. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/objects/objxref.pl')
-rw-r--r--crypto/objects/objxref.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/objects/objxref.pl b/crypto/objects/objxref.pl
index a1900cab5c..05b987ad16 100644
--- a/crypto/objects/objxref.pl
+++ b/crypto/objects/objxref.pl
@@ -68,6 +68,8 @@ typedef struct {
int pkey_id;
} nid_triple;
+DEFINE_STACK_OF(nid_triple)
+
static const nid_triple sigoid_srt[] = {
EOF