Code

Removed semicolon from SDB_PLUGIN_MAGIC definition.
authorSebastian Harl <sh@tokkee.org>
Sun, 23 Feb 2014 20:37:48 +0000 (12:37 -0800)
committerSebastian Harl <sh@tokkee.org>
Sun, 23 Feb 2014 20:37:48 +0000 (12:37 -0800)
Rather, the semicolon is added when using the define.

src/include/core/plugin.h

index a4217ac814aa35c632f334aaae8d22e13f79a46d..5928560931932836a4dda90ebae881f38a6365a0 100644 (file)
@@ -52,7 +52,7 @@ typedef struct sdb_plugin_info sdb_plugin_info_t;
  * missing prototype warnings/errors for the plugin init
  * function */
 #define SDB_PLUGIN_MAGIC \
-       int sdb_module_init(sdb_plugin_info_t *info);
+       int sdb_module_init(sdb_plugin_info_t *info)
 
 typedef struct {
        _Bool do_loop;