projects
/
deliverable
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: standardise include path
[deliverable/lttng-ust.git]
/
liblttng-ust
/
lttng-getcpu.c
diff --git
a/liblttng-ust/lttng-getcpu.c
b/liblttng-ust/lttng-getcpu.c
index 7b608ef94aa43f247433969c87050058a9021419..7c33b49492cb944c5aa303ce753c29c59fc67f70 100644
(file)
--- a/
liblttng-ust/lttng-getcpu.c
+++ b/
liblttng-ust/lttng-getcpu.c
@@
-16,7
+16,6
@@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define _GNU_SOURCE
#define _LGPL_SOURCE
#include <error.h>
#include <dlfcn.h>
#define _LGPL_SOURCE
#include <error.h>
#include <dlfcn.h>
@@
-47,7
+46,7
@@
void lttng_ust_getcpu_init(void)
if (getcpu_handle)
return;
if (getcpu_handle)
return;
- libname = lttng_
secure_
getenv("LTTNG_UST_GETCPU_PLUGIN");
+ libname = lttng_getenv("LTTNG_UST_GETCPU_PLUGIN");
if (!libname)
return;
getcpu_handle = dlopen(libname, RTLD_NOW);
if (!libname)
return;
getcpu_handle = dlopen(libname, RTLD_NOW);
This page took
0.024802 seconds
and
5
git commands to generate.