From: compudj Date: Thu, 29 May 2003 15:12:39 +0000 (+0000) Subject: header modif X-Git-Tag: v0.12.20~3460 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4accaa97805e5d7fe37cb6b9f60c9e62869afdb3;p=lttv.git header modif git-svn-id: http://ltt.polymtl.ca/svn@29 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/attribute.c b/ltt/branches/poly/lttv/attribute.c index b400804c..973bdc9e 100644 --- a/ltt/branches/poly/lttv/attribute.c +++ b/ltt/branches/poly/lttv/attribute.c @@ -1,4 +1,4 @@ -#include +#include "attribute.h" inline lttv_string_id lttv_string_id_from_string(const char *s) { return g_quark_from_string(s); diff --git a/ltt/branches/poly/lttv/hook.c b/ltt/branches/poly/lttv/hook.c index 18ed98ef..6fcca66a 100644 --- a/ltt/branches/poly/lttv/hook.c +++ b/ltt/branches/poly/lttv/hook.c @@ -1,4 +1,4 @@ -#include +#include "hook.h" typedef struct _lttv_hook_closure { diff --git a/ltt/branches/poly/lttv/lttv.h b/ltt/branches/poly/lttv/lttv.h index 27a94d0d..26583850 100644 --- a/ltt/branches/poly/lttv/lttv.h +++ b/ltt/branches/poly/lttv/lttv.h @@ -1,15 +1,11 @@ #ifndef LTTV_H #define LTTV_H - -#include -#include -#include -#include /* Initial draft by Michel Dagenais May 2003 * Reworked by Mathieu Desnoyers, May 2003 */ + /* The modules in the visualizer communicate with the main module and with each other through attributes. There is a global set of attributes as well as attributes attached to each trace set, trace and tracefile. */ @@ -17,6 +13,7 @@ lttv_attributes *lttv_global_attributes(); + /* Modules are allowed to define new command line options. Each option has a long name (--long_name), a short one character diff --git a/ltt/branches/poly/lttv/main.c b/ltt/branches/poly/lttv/main.c index fdb44c70..b484bbc1 100644 --- a/ltt/branches/poly/lttv/main.c +++ b/ltt/branches/poly/lttv/main.c @@ -1,6 +1,6 @@ -#include -#include +#include "lttv.h" +#include "trace.h" /* The main program maintains a few central data structures and relies @@ -11,7 +11,7 @@ they are loaded and initialized. */ -lttv_attributes *attributes_global; +static lttv_attributes *attributes_global; static lttv_hooks *hooks_init_after, diff --git a/ltt/branches/poly/lttv/module.c b/ltt/branches/poly/lttv/module.c index ae719504..a2ecffe2 100644 --- a/ltt/branches/poly/lttv/module.c +++ b/ltt/branches/poly/lttv/module.c @@ -8,7 +8,7 @@ */ #include -#include +#include "module.h" #include /* Table of loaded modules and paths where to search for modules */