Move fgetline out into misc.c.

I'm about to want to use it outside the GTK front end.
This commit is contained in:
Simon Tatham
2018-04-22 13:58:27 +01:00
parent 12cb1adc88
commit b7034aeb51
3 changed files with 20 additions and 19 deletions

View File

@ -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. */