fix: relayd: unaligned access in trace_chunk_registry_ht_key_hash
[lttng-tools.git] / tests / regression / ust / libc-wrapper / prog.c
index 999d880a3dc744fe029ce30638d55b42de7518e6..882dbb82f63097641d852b1ae54c361c95277de4 100644 (file)
@@ -7,19 +7,19 @@
 /* This program is used to test malloc instrumentation with libustinstr-malloc.
  */
 
-#include <string.h>
 #include <stdlib.h>
+#include <string.h>
 
 #define N_ITER 1000
 
-int main(int argc, char **argv)
+int main(void)
 {
        int i;
        const char teststr[] = "Hello World! 1234567890abc";
        void *ptrs[N_ITER];
 
        for (i = 0; i < N_ITER; i++) {
-               ptrs[i] = malloc(i+1000);
+               ptrs[i] = malloc(i + 1000);
                if (!ptrs[i]) {
                        exit(EXIT_FAILURE);
                }
This page took 0.023759 seconds and 4 git commands to generate.