chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / wol / lib-getline.h.patch
1 diff -u -r ../wol-0.7.1/lib/getline.h ./lib/getline.h
2 --- ../wol-0.7.1/lib/getline.h  2002-03-11 12:55:36.000000000 -0500
3 +++ ./lib/getline.h     2016-02-05 16:14:45.530639085 -0500
4 @@ -19,20 +19,4 @@
5  
6  # include <stdio.h>
7  
8 -# ifndef PARAMS
9 -#  if defined PROTOTYPES || (defined __STDC__ && __STDC__)
10 -#   define PARAMS(Args) Args
11 -#  else
12 -#   define PARAMS(Args) ()
13 -#  endif
14 -# endif
15 -
16 -# if __GLIBC__ < 2
17 -int
18 -getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream));
19 -
20 -int
21 -getdelim PARAMS ((char **_lineptr, size_t *_n, int _delimiter, FILE *_stream));
22 -# endif
23 -
24  #endif /* not GETLINE_H_ */