check_type: fix incorrect documentation.
[ccan] / ccan / failtest / failtest_override.h
index 7178afd43424038f195a9b7da08252369f8a4873..204494b086cd380cd7916e7aace2babb3ecbba30 100644 (file)
        failtest_mmap((addr), (length), (prot), (flags), (fd), (offset), \
                      __FILE__, __LINE__)
 
+#undef lseek
+#define lseek(fd, offset, whence)                                      \
+       failtest_lseek((fd), (offset), (whence), __FILE__, __LINE__)
+
 /* Replacement of getpid (since failtest will fork). */
 #undef getpid
 #define getpid() failtest_getpid(__FILE__, __LINE__)