diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-02-28 02:31:50 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-02-28 02:31:50 +0100 |
commit | 28037643bd3275b6567fbfd84feee909cbfb5352 (patch) | |
tree | 0138e2d8d68fbf572221e6aaef1cdb7559c03fea /include/plugin.h | |
parent | c2d1b081ccdd3720ef645bf8dbf82ea4abc752fb (diff) | |
download | connman-28037643bd3275b6567fbfd84feee909cbfb5352.tar.gz connman-28037643bd3275b6567fbfd84feee909cbfb5352.tar.bz2 connman-28037643bd3275b6567fbfd84feee909cbfb5352.zip |
Add priority field to plugin descriptor definition
Diffstat (limited to 'include/plugin.h')
-rw-r--r-- | include/plugin.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/plugin.h b/include/plugin.h index 350937ee..059c50af 100644 --- a/include/plugin.h +++ b/include/plugin.h @@ -78,10 +78,9 @@ struct connman_plugin_desc { * example_init, example_exit) * ]| */ -#define CONNMAN_PLUGIN_DEFINE(name, description, version, init, exit) \ +#define CONNMAN_PLUGIN_DEFINE(name, description, version, priority, init, exit) \ struct connman_plugin_desc connman_plugin_desc = { \ - #name, description, version, \ - CONNMAN_PLUGIN_PRIORITY_DEFAULT, init, exit \ + #name, description, version, priority, init, exit \ }; #ifdef __cplusplus |