projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use compiler-agnostic defines to silence warning
[lttng-tools.git]
/
tests
/
regression
/
ust
/
ust-dl
/
prog.c
diff --git
a/tests/regression/ust/ust-dl/prog.c
b/tests/regression/ust/ust-dl/prog.c
index 473de57a90db560493ffd2a8d8651c4d406a2827..60fb0d1dc9c415f9671a04ae910eb4780c5dd8c7 100644
(file)
--- a/
tests/regression/ust/ust-dl/prog.c
+++ b/
tests/regression/ust/ust-dl/prog.c
@@
-6,12
+6,12
@@
*/
/* _GNU_SOURCE is defined by config.h */
*/
/* _GNU_SOURCE is defined by config.h */
+#include <common/compat/errno.hpp>
+
#include <dlfcn.h>
#include <stdio.h>
#include <dlfcn.h>
#include <stdio.h>
-#include <unistd.h>
#include <stdlib.h>
#include <stdlib.h>
-
-#include <common/compat/errno.h>
+#include <unistd.h>
/*
* libfoo has a direct dependency on libbar.
/*
* libfoo has a direct dependency on libbar.
@@
-19,7
+19,7
@@
* This test is therefore a mix of dlopen/dlclose and dlmopen/dlclose of
* libfoo, and of its direct dependencies.
*/
* 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;
{
void *h0, *h2, *h3, *h4;
This page took
0.024334 seconds
and
4
git commands to generate.