NVML references renamed to PMDK
[fio.git] / t / axmap.c
index 57c585b6798ae9a3d28b17f5a49a25062590ded4..eef464ff2d5bd4a29bf4dbc54ad6f8ed5131e0cd 100644 (file)
--- a/t/axmap.c
+++ b/t/axmap.c
@@ -1,23 +1,10 @@
 #include <stdio.h>
 #include <stdlib.h>
-#include <fcntl.h>
-#include <string.h>
-#include <unistd.h>
 #include <inttypes.h>
 
 #include "../lib/lfsr.h"
 #include "../lib/axmap.h"
 
-void *smalloc(size_t size)
-{
-       return malloc(size);
-}
-
-void sfree(void *ptr)
-{
-       free(ptr);
-}
-
 static int test_regular(size_t size, int seed)
 {
        struct fio_lfsr lfsr;
@@ -37,7 +24,7 @@ static int test_regular(size_t size, int seed)
        while (size--) {
                uint64_t val;
 
-               if (lfsr_next(&lfsr, &val, osize)) {
+               if (lfsr_next(&lfsr, &val)) {
                        printf("lfsr: short loop\n");
                        err = 1;
                        break;