]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
mygetcontent: remove now unused function
authorBaptiste Daroussin <bapt@FreeBSD.org>
Mon, 24 Oct 2022 15:50:38 +0000 (17:50 +0200)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Mon, 24 Oct 2022 15:50:38 +0000 (17:50 +0200)
include/mygetline.h
src/mygetline.c

index d172c6e4615e02ba42c8cb8889d3059218ae2232..fb9149138349e66effae085c3bd46722ca8b49dc 100644 (file)
@@ -31,6 +31,5 @@
 char *myfgetline(FILE *infile);
 #endif
 char *mygetline(int fd);
-char *mygetcontent(int fd);
 
 #endif /* #ifndef MYGETLINE_H */
index 50a4725bc0cba74651ab2ff24b30f2535babfa0e..67abb4ff6b3b21252757a19a3fba9841e392b046 100644 (file)
@@ -74,8 +74,3 @@ char *mygetline(int fd)
 {
        return mygetuntil(fd, '\n');
 }
-
-char *mygetcontent(int fd)
-{
-       return mygetuntil(fd, EOF);
-}