summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-07 17:03:51 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-01-07 17:03:51 +0100
commit681cdd4a0c0bf186b9a0cca012992e8d654fd4ca (patch)
tree25582753ddbef64f106a350f1a74d2a927340758 /include
parent0fc28e0291fd0d878a6605c7f62fcc7debfdbebe (diff)
downloadconnman-681cdd4a0c0bf186b9a0cca012992e8d654fd4ca.tar.gz
connman-681cdd4a0c0bf186b9a0cca012992e8d654fd4ca.tar.bz2
connman-681cdd4a0c0bf186b9a0cca012992e8d654fd4ca.zip
Only load plugins with the same version string
Diffstat (limited to 'include')
-rw-r--r--include/plugin.h2
-rw-r--r--include/version.h.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/plugin.h b/include/plugin.h
index d538dc7e..84e09586 100644
--- a/include/plugin.h
+++ b/include/plugin.h
@@ -69,7 +69,7 @@ struct connman_plugin_desc {
* {
* }
*
- * CONNMAN_PLUGIN_DEFINE(example, "Example plugin", VERSION,
+ * CONNMAN_PLUGIN_DEFINE(example, "Example plugin", CONNMAN_VERSION,
* example_init, example_exit)
* ]|
*/
diff --git a/include/version.h.in b/include/version.h.in
index c163f8ae..5d44396f 100644
--- a/include/version.h.in
+++ b/include/version.h.in
@@ -26,7 +26,7 @@
extern "C" {
#endif
-#define CONNMAN_VERSION @VERSION@
+#define CONNMAN_VERSION "@VERSION@"
#ifdef __cplusplus
}