Clean-up: run format-cpp on the tree
[lttng-tools.git] / tests / regression / ust / ust-dl / prog.c
index fb4e5c0e13ef28b190f29127eaf9d2bf3a3fbffd..60fb0d1dc9c415f9671a04ae910eb4780c5dd8c7 100644 (file)
@@ -6,11 +6,12 @@
  */
 
 /* _GNU_SOURCE is defined by config.h */
+#include <common/compat/errno.hpp>
+
 #include <dlfcn.h>
 #include <stdio.h>
-#include <errno.h>
-#include <unistd.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 /*
  * 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;
 
This page took 0.024053 seconds and 4 git commands to generate.