projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: compile liblttng-ctl as C++
[lttng-tools.git]
/
include
/
lttng
/
lttng-error.h
diff --git
a/include/lttng/lttng-error.h
b/include/lttng/lttng-error.h
index aadf2f45ba9aaf8cd42a6fc7385b31dd8ca4c8bb..790a78a0b60e88188486fc230b84c01ba031f347 100644
(file)
--- a/
include/lttng/lttng-error.h
+++ b/
include/lttng/lttng-error.h
@@
-15,6
+15,8
@@
#ifndef LTTNG_ERROR_H
#define LTTNG_ERROR_H
#ifndef LTTNG_ERROR_H
#define LTTNG_ERROR_H
+#include <lttng/lttng-export.h>
+
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
extern "C" {
#endif
@@
-195,7
+197,7
@@
enum lttng_error_code {
*
* Parameter MUST be a negative value or else you'll get a generic message.
*/
*
* Parameter MUST be a negative value or else you'll get a generic message.
*/
-extern const char *lttng_strerror(int code);
+
LTTNG_EXPORT
extern const char *lttng_strerror(int code);
#ifdef __cplusplus
}
#ifdef __cplusplus
}
This page took
0.024135 seconds
and
5
git commands to generate.