X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodule.c;h=384ad3437079b5f7728ecc8907fa4aaed3813086;hb=62c72abfe4ed5176c2dc5f10ccd354bf8a560d4d;hp=ae719504c83730f42e152e027ddc3d2e260f05eb;hpb=eccb53529c117e1c39bd558e1db7fb801e054fb8;p=lttv.git diff --git a/ltt/branches/poly/lttv/module.c b/ltt/branches/poly/lttv/module.c index ae719504..384ad343 100644 --- a/ltt/branches/poly/lttv/module.c +++ b/ltt/branches/poly/lttv/module.c @@ -7,9 +7,9 @@ * Reworked by Mathieu Desnoyers, May 2003 */ -#include -#include #include +#include +#include /* Table of loaded modules and paths where to search for modules */ @@ -267,7 +267,7 @@ int lttv_module_unload(lttv_module_info *moduleInfo, loadtype load) { } #define MODULE_I ((lttv_module_info *)modulesStandalone->pdata[i]) - +//FIXME use g_ptr_array_index instead /* unload all the modules in the hash table, calling module_destroy for * each of them. *