test-vectors: Define test vector symbols as extern
authorMartin Willi <martin@revosec.ch>
Thu, 16 Apr 2015 07:38:14 +0000 (09:38 +0200)
committerMartin Willi <martin@revosec.ch>
Thu, 16 Apr 2015 07:38:14 +0000 (09:38 +0200)
commit7d1ffe013d41ab11f92162b69827dfe0772831a2
tree0599ea7188b19f277266cfa174cadce18d185297
parentd1e7b31e80741b41912ab4fdcaa0bed952db1a32
test-vectors: Define test vector symbols as extern

We don't actually define a vector, but only prototype the test vector
implemented in a different file. GCC uses the correct symbol during testing,
but clang correctly complains about duplicated symbols during linking.
src/libstrongswan/plugins/test_vectors/test_vectors_plugin.c