X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=src%2Fcommon%2Freadwrite.h;h=9affeb855946f0272587f5b0f2268443edf8f306;hb=0cc6c4ad7e0b01e2a89ced908f410eadf3f22b1f;hp=9c1358a693c10112648677b62d9bf7794b417a35;hpb=f9c94db47aa883149aa762fa128ac1ff1b3f92e1;p=plomrogue diff --git a/src/common/readwrite.h b/src/common/readwrite.h index 9c1358a..9affeb8 100644 --- a/src/common/readwrite.h +++ b/src/common/readwrite.h @@ -35,10 +35,9 @@ extern void try_fclose_unlink_rename(FILE * file, char * p1, char * p2, char * f); /* Return largest line length from "file" the largest line length (including - * newline chars) and write the number of newline chars in "file" to the memory - * pointed to by "n_lines_p" if it is not passed as NULL. + * newline chars). */ -extern uint32_t textfile_sizes(FILE * file, uint32_t * n_lines_p); +extern uint32_t textfile_width(FILE * file);