summaryrefslogtreecommitdiffstats
path: root/src/test/erasure-code/ErasureCodePluginMissingEntryPoint.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/erasure-code/ErasureCodePluginMissingEntryPoint.cc')
-rw-r--r--src/test/erasure-code/ErasureCodePluginMissingEntryPoint.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/erasure-code/ErasureCodePluginMissingEntryPoint.cc b/src/test/erasure-code/ErasureCodePluginMissingEntryPoint.cc
new file mode 100644
index 00000000..8a55214b
--- /dev/null
+++ b/src/test/erasure-code/ErasureCodePluginMissingEntryPoint.cc
@@ -0,0 +1,6 @@
+#include "ceph_ver.h"
+
+// missing int __erasure_code_init(char *plugin_name, char *directory) {}
+
+extern "C" const char *__erasure_code_version() { return CEPH_GIT_NICE_VER; }
+