Rename C++ header files to .hpp
[lttng-tools.git] / tests / regression / ust / ust-dl / prog.c
index fb4e5c0e13ef28b190f29127eaf9d2bf3a3fbffd..e4288928fad5235245086f8f47087bcb4eb2ab3c 100644 (file)
@@ -8,17 +8,18 @@
 /* _GNU_SOURCE is defined by config.h */
 #include <dlfcn.h>
 #include <stdio.h>
-#include <errno.h>
 #include <unistd.h>
 #include <stdlib.h>
 
+#include <common/compat/errno.hpp>
+
 /*
  * 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;
 
This page took 0.023303 seconds and 4 git commands to generate.