Fix error.h non-static variables for liblttng-ctl
authorDavid Goulet <dgoulet@efficios.com>
Tue, 6 Mar 2012 16:16:26 +0000 (11:16 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 6 Mar 2012 16:22:01 +0000 (11:22 -0500)
Linking with liblttng-ctl made the variable opt_quiet and opt_verbose
undefined if nonexistent in the linked application.

Rename the variables adding the prefix lttng_* and declaring them in
liblttng-ctl as global variable. The user can now control the verbosity
of the library by simply setting them.

Future work will mostly add an API call to control verbosity.

(closes #151)

Signed-off-by: David Goulet <dgoulet@efficios.com>

No differences found
This page took 0.024767 seconds and 4 git commands to generate.