X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fust-dl%2Fprog.c;h=e4288928fad5235245086f8f47087bcb4eb2ab3c;hb=c9e313bc594f40a86eed237dce222c0fc99c957f;hp=669792d9d97a7c0158886052279d4a4e5e724dfd;hpb=bc1d8ca01415710d40224de312c7ecf6f4223301;p=lttng-tools.git diff --git a/tests/regression/ust/ust-dl/prog.c b/tests/regression/ust/ust-dl/prog.c index 669792d9d..e4288928f 100644 --- a/tests/regression/ust/ust-dl/prog.c +++ b/tests/regression/ust/ust-dl/prog.c @@ -1,17 +1,25 @@ +/* + * Copyright (C) 2016 Antoine Busque + * + * SPDX-License-Identifier: GPL-2.0-only + * + */ + /* _GNU_SOURCE is defined by config.h */ #include #include -#include #include #include +#include + /* * libfoo has a direct dependency on libbar. * libbar has a direct dependency on libzzz. * 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;