]> git.ozlabs.org Git - ccan/blobdiff - ccan/failtest/failtest_proto.h
endian: add constant versions.
[ccan] / ccan / failtest / failtest_proto.h
index c7e6b489844c0fae29e3be5a4abbcedf45c538f1..3c2df1d31d21b12ea8fa99329aa08a5dada44bc0 100644 (file)
@@ -23,6 +23,8 @@ ssize_t failtest_pwrite(int fd, const void *buf, size_t count, off_t offset,
                        const char *file, unsigned line);
 void *failtest_mmap(void *addr, size_t length, int prot, int flags,
                    int fd, off_t offset, const char *file, unsigned line);
+void *failtest_mmap_noloc(void *addr, size_t length, int prot, int flags,
+                         int fd, off_t offset);
 off_t failtest_lseek(int fd, off_t offset, int whence,
                     const char *file, unsigned line);
 int failtest_close(int fd, const char *file, unsigned line);