X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fuserspace-probe-sdt-binary%2Fuserspace-probe-sdt-binary.c;fp=tests%2Futils%2Ftestapp%2Fuserspace-probe-sdt-binary%2Fuserspace-probe-sdt-binary.c;h=c9c8036970638788acbce1c4d91f18c0249ad24a;hp=03bdb3a45f5b63e974c632bfbcce2924a2e48779;hb=28f23191dcbf047429d51950a337a57d7a3f866a;hpb=f250b40e2179eccdb83766bf4abef5a35036c47b diff --git a/tests/utils/testapp/userspace-probe-sdt-binary/userspace-probe-sdt-binary.c b/tests/utils/testapp/userspace-probe-sdt-binary/userspace-probe-sdt-binary.c index 03bdb3a45..c9c803697 100644 --- a/tests/utils/testapp/userspace-probe-sdt-binary/userspace-probe-sdt-binary.c +++ b/tests/utils/testapp/userspace-probe-sdt-binary/userspace-probe-sdt-binary.c @@ -9,20 +9,19 @@ #define _GNU_SOURCE #endif +#include "foobar_provider.h" +#include "libfoo.h" +#include "sema.h" + #include #include #include #include #include +#include #include #include -#include - -#include "foobar_provider.h" -#include "libfoo.h" -#include "sema.h" - int main(int argc, char *argv[]) { void *handle; @@ -48,7 +47,7 @@ int main(int argc, char *argv[]) fprintf(stderr, "Can't dlopen libbar.so"); return -1; } - bar_function = (void (*)())dlsym(handle, "bar_function"); + bar_function = (void (*)()) dlsym(handle, "bar_function"); bar_function(); dlclose(handle); @@ -68,4 +67,3 @@ int main(int argc, char *argv[]) sema_function(); return 0; } -