summaryrefslogtreecommitdiff
path: root/p11-kit
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2013-07-10 15:22:00 +0200
committerStef Walter <stef@thewalter.net>2013-07-10 15:25:40 +0200
commitd00f6b24e5349d8d37868b8f4451b1dc9b38767e (patch)
tree5394ce5809dc3bf9d112f679eec1c179a4f9727d /p11-kit
parentfb039d0c292c3cd339179bdc98a09d4103fb9c5f (diff)
Build with -fno-common to catch definition problems
Fix some global variables not declared as extern https://bugs.freedesktop.org/show_bug.cgi?id=66015
Diffstat (limited to 'p11-kit')
-rw-r--r--p11-kit/virtual.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/p11-kit/virtual.h b/p11-kit/virtual.h
index f1fb676..d29ea49 100644
--- a/p11-kit/virtual.h
+++ b/p11-kit/virtual.h
@@ -45,9 +45,9 @@ typedef struct {
p11_destroyer lower_destroy;
} p11_virtual;
-CK_X_FUNCTION_LIST p11_virtual_base;
+extern CK_X_FUNCTION_LIST p11_virtual_base;
-CK_X_FUNCTION_LIST p11_virtual_stack;
+extern CK_X_FUNCTION_LIST p11_virtual_stack;
void p11_virtual_init (p11_virtual *virt,
CK_X_FUNCTION_LIST *funcs,