From 2caea73cef26cca52ac2564734f384892cacde33 Mon Sep 17 00:00:00 2001 From: Martin von Gagern Date: Thu, 3 Mar 2011 18:27:54 +0100 Subject: [PATCH] Make prim static to prevent its being exported. Having that symbol exported clobbers the namespace and makes other apps fail, most notably pdftex. I don't believe that the symbol is in fact intended for public use. Fixes http://bugs.gentoo.org/357235 . --- lib/asn1/template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/asn1/template.c b/lib/asn1/template.c index 1a39677c6..f689b6549 100644 --- a/lib/asn1/template.c +++ b/lib/asn1/template.c @@ -46,7 +46,7 @@ #define DPO(data,offset) ((void *)(((unsigned char *)data) + offset)) -struct asn1_type_func prim[] = { +static struct asn1_type_func prim[] = { #define el(name, type) { \ (asn1_type_encode)der_put_##name, \ (asn1_type_decode)der_get_##name, \