aboutsummaryrefslogtreecommitdiffstats
path: root/main/gross/fix-shadow-declaration.patch
blob: 9b70a61ca1dc2fe7cc8ac285707a0ae5b3db72bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- gross-1.0.2.orig/include/utils.h
+++ gross-1.0.2/include/utils.h
@@ -39,7 +39,9 @@
 #endif /* ! USE_GETTIMEOFDAY */
 
 int readline(int fd, void *vptr, size_t maxlen);
+#if 0
 int getline(int fd, char *line, size_t maxlen);
+#endif
 ssize_t readn(int fd, void *vptr, size_t n);
 ssize_t writen(int fd, const void *vptr, size_t n);
 ssize_t writeline(int fd, const char *line);