X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fexamples%2Fsamplemodule.c;h=6e676d5ce10991e5e1259b19661a60ef316822e2;hb=728d0c3ea0f5f236770ac2f330dccada59c59366;hp=e64ab2f45bee49f8b7bcda273611df43a68c92d2;hpb=86fd9e018236796824f8e4ffe05b3f553c67ad7b;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/examples/samplemodule.c b/ltt/branches/poly/lttv/modules/examples/samplemodule.c index e64ab2f4..6e676d5c 100644 --- a/ltt/branches/poly/lttv/modules/examples/samplemodule.c +++ b/ltt/branches/poly/lttv/modules/examples/samplemodule.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 init()"); } -G_MODULE_EXPORT void destroy() { +static void destroy() { g_critical("Sample module destroy()"); } - + + +LTTV_MODULE("sampledep", "Medium...", "Long...", init, destroy, {}) +