X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fust-dl%2Fprog.c;h=60fb0d1dc9c415f9671a04ae910eb4780c5dd8c7;hb=28f23191dcbf047429d51950a337a57d7a3f866a;hp=fb4e5c0e13ef28b190f29127eaf9d2bf3a3fbffd;hpb=9d16b343fb9e781fc8d8fa3c448a3f382306dd33;p=lttng-tools.git diff --git a/tests/regression/ust/ust-dl/prog.c b/tests/regression/ust/ust-dl/prog.c index fb4e5c0e1..60fb0d1dc 100644 --- a/tests/regression/ust/ust-dl/prog.c +++ b/tests/regression/ust/ust-dl/prog.c @@ -6,11 +6,12 @@ */ /* _GNU_SOURCE is defined by config.h */ +#include + #include #include -#include -#include #include +#include /* * libfoo has a direct dependency on libbar. @@ -18,7 +19,7 @@ * This test is therefore a mix of dlopen/dlclose and dlmopen/dlclose of * libfoo, and of its direct dependencies. */ -int main(int argc, char **argv) +int main(void) { void *h0, *h2, *h3, *h4;