]> git.draconx.ca Git - cdecl99.git/blobdiff - t/test.h
Port to use getline.h from dxcommon.
[cdecl99.git] / t / test.h
index 2a872f7f22450dbfd9d557c4fefc28af552bdfe2..ad8547f4aab2e5c621e75bef5c825510e41e1735 100644 (file)
--- a/t/test.h
+++ b/t/test.h
@@ -53,6 +53,8 @@ void print_error(const char *fmt, ...);
 void *malloc_nofail(size_t size);
 void *realloc_nofail(void *ptr, size_t size);
 
+int test_getline(char **linebuf, size_t *n);
+
 bool test_strtoumax(test_uintmax *out, const char *s, test_uintmax limit);
 
 static inline bool test_strtoul(unsigned long *val, const char *str)