From: Baptiste Daroussin Date: Mon, 24 Oct 2022 15:50:38 +0000 (+0200) Subject: mygetcontent: remove now unused function X-Git-Tag: RELEASE_1_4_0a1~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74d6d8a1adcfd00ee0863394b77a734ce0cfe8d7;p=thirdparty%2Fmlmmj.git mygetcontent: remove now unused function --- diff --git a/include/mygetline.h b/include/mygetline.h index d172c6e4..fb914913 100644 --- a/include/mygetline.h +++ b/include/mygetline.h @@ -31,6 +31,5 @@ char *myfgetline(FILE *infile); #endif char *mygetline(int fd); -char *mygetcontent(int fd); #endif /* #ifndef MYGETLINE_H */ diff --git a/src/mygetline.c b/src/mygetline.c index 50a4725b..67abb4ff 100644 --- a/src/mygetline.c +++ b/src/mygetline.c @@ -74,8 +74,3 @@ char *mygetline(int fd) { return mygetuntil(fd, '\n'); } - -char *mygetcontent(int fd) -{ - return mygetuntil(fd, EOF); -}