From b7034aeb51a99336fca2e15837c8337481964f6d Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 22 Apr 2018 13:58:27 +0100 Subject: Move fgetline out into misc.c. I'm about to want to use it outside the GTK front end. --- puzzles.h | 1 + 1 file changed, 1 insertion(+) (limited to 'puzzles.h') diff --git a/puzzles.h b/puzzles.h index 40f5bcb..6b6e6b3 100644 --- a/puzzles.h +++ b/puzzles.h @@ -357,6 +357,7 @@ char *dupstr(const char *s); */ void free_cfg(config_item *cfg); void obfuscate_bitmap(unsigned char *bmp, int bits, int decode); +char *fgetline(FILE *fp); /* allocates output each time. len is always in bytes of binary data. * May assert (or just go wrong) if lengths are unchecked. */ -- cgit v1.1