summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--p11-kit/virtual.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 5eb6c2c..b0bbbd5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -378,7 +378,7 @@ if test "$GCC" = "yes"; then
-Wmissing-prototypes -Wnested-externs -Wpointer-arith \
-Wdeclaration-after-statement -Wformat=2 -Winit-self \
-Waggregate-return -Wno-missing-format-attribute \
- -fno-strict-aliasing"
+ -fno-strict-aliasing -fno-common"
for option in -Wmissing-include-dirs -Wundef; do
SAVE_CFLAGS="$CFLAGS"
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,