#ifndef NTESTPOINT
#define _LGPL_SOURCE
-#include <dlfcn.h> /* for dlsym */
+#include "testpoint.hpp"
+
+#include <dlfcn.h> /* for dlsym */
#include <stdlib.h> /* for getenv */
#include <string.h> /* for strncmp */
-#include "testpoint.hpp"
-
/* Environment variable used to enable the testpoints facilities. */
static const char *lttng_testpoint_env_var = "LTTNG_TESTPOINT_ENABLE";
char *testpoint_env_val = NULL;
testpoint_env_val = getenv(lttng_testpoint_env_var);
- if (testpoint_env_val != NULL
- && (strncmp(testpoint_env_val, "1", 1) == 0)) {
+ if (testpoint_env_val != NULL && (strncmp(testpoint_env_val, "1", 1) == 0)) {
lttng_testpoint_activated = 1;
}
}