update compat
[lttv.git] / ltt / branches / poly / lttv / modules / examples / samplemodule2.c
index 3d7bb1c00ccc546040181cefbdb297f8b100f310..19a094d1349f7adb2de1de31c230849cdb41b182 100644 (file)
@@ -2,14 +2,21 @@
 
 /* Created by Mathieu Desnoyers, may 2003 */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <glib.h>
-#include <gmodule.h>
+#include <lttv/module.h>
 
-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, {})
+
This page took 0.0247 seconds and 4 git commands to generate.