X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fexamples%2Fsamplemodule2.c;h=19a094d1349f7adb2de1de31c230849cdb41b182;hb=a285a0ae9e070e5b196452d5cae525e25cabcb0b;hp=3d7bb1c00ccc546040181cefbdb297f8b100f310;hpb=86fd9e018236796824f8e4ffe05b3f553c67ad7b;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/examples/samplemodule2.c b/ltt/branches/poly/lttv/modules/examples/samplemodule2.c index 3d7bb1c0..19a094d1 100644 --- a/ltt/branches/poly/lttv/modules/examples/samplemodule2.c +++ b/ltt/branches/poly/lttv/modules/examples/samplemodule2.c @@ -2,14 +2,21 @@ /* Created by Mathieu Desnoyers, may 2003 */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include -#include +#include -G_MODULE_EXPORT void init() { +static void init() { g_critical("Sample module 2 init()"); } -G_MODULE_EXPORT void destroy() { +static void destroy() { g_critical("Sample module 2 destroy()"); } - + + +LTTV_MODULE("samplemodule2", "Medium...", "Long...", init, destroy, {}) +