X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fplugin%2Fnotification%2Fnotification.h;h=bc21a39623c9b607abc3ae081664a8334bfaf0b8;hb=9900dfa70bfcad56a2647a1ec9e0edd44403849f;hp=a15fde6a99f24f154888bb0c8662a81316dc31a7;hpb=611c29fb84107322f4ff9830e41c6069ca84a30a;p=babeltrace.git diff --git a/include/babeltrace/plugin/notification/notification.h b/include/babeltrace/plugin/notification/notification.h index a15fde6a..bc21a396 100644 --- a/include/babeltrace/plugin/notification/notification.h +++ b/include/babeltrace/plugin/notification/notification.h @@ -27,8 +27,6 @@ * SOFTWARE. */ -#include - #ifdef __cplusplus extern "C" { #endif @@ -57,7 +55,7 @@ enum bt_plugin_notification_type { * @param notification Notification instance * @returns One of #bt_plugin_notification_type */ -enum bt_plugin_notification_type bt_plugin_notification_get_type( +extern enum bt_plugin_notification_type bt_plugin_notification_get_type( struct bt_plugin_notification *notification); /** @@ -67,7 +65,8 @@ enum bt_plugin_notification_type bt_plugin_notification_get_type( * * @see bt_plugin_notification_put() */ -void bt_plugin_notification_get(struct bt_plugin_notification *notification); +extern void bt_plugin_notification_get( + struct bt_plugin_notification *notification); /** * Decrements the reference count of \p notification, destroying it when this @@ -77,7 +76,8 @@ void bt_plugin_notification_get(struct bt_plugin_notification *notification); * * @see bt_plugin_notification_get() */ -void bt_plugin_notification_put(struct bt_plugin_notification *notification); +extern void bt_plugin_notification_put( + struct bt_plugin_notification *notification); #ifdef __cplusplus }