lib: compile liblttng-ctl as C++
[lttng-tools.git] / tests / regression / ust / ust-dl / libfoo.h
index e1b6eac0188105ac0e5173a9f6ae9f5619748b91..43ae5b9b88f4432a1d1ddfe7c9ee6e70adfc11fb 100644 (file)
@@ -1,6 +1,15 @@
+/*
+ * Copyright (C) 2016 Antoine Busque <abusque@efficios.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0-only
+ *
+ */
+
 #ifndef _LIBFOO_H
 #define _LIBFOO_H
 
-int foo(void);
+#include <lttng/lttng-export.h>
+
+LTTNG_EXPORT int foo(void);
 
 #endif  /* _LIBFOO_H */
This page took 0.023103 seconds and 4 git commands to generate.