fix: all functions have declarations (-Wmissing-prototypes -Wold-style-definition)
[lttng-ust.git] / tests / unit / libringbuffer / shm.c
index 4e6ac0826988f4252035df5537b261be8211a272..60b8e6fef866a65879fb27b113189637e3458356 100644 (file)
 #include <sys/mman.h>
 #include <fcntl.h>
 
-#include <lttng/align.h>
 #include "libringbuffer/shm.h"
+#include "ust-compat.h"
 
 #include "tap.h"
 
 #define SHM_PATH "/ust-shm-test"
 
-int main()
+int main(void)
 {
        int shmfd;
        size_t shmsize = LTTNG_UST_PAGE_SIZE * 10;
This page took 0.023096 seconds and 4 git commands to generate.