<div dir="ltr"><br clear="all"><div><div>i got the error while running tcl script <br>gcc -DHAVE_CONFIG_H -I, -I ,-I.        -g    -c  dialog.c<br></div>dialog.c:In function &#39;make_msg_box&#39;:<br></div>dialog.c:780:5:warning:passing argument 2 of &#39;getline&#39; from incompatible pointer type [enabled by default]<br>

In file included from xgraph.h:18:0,<br>                 from dialog.c:11:<br>/usr/include/stdio.h:677:20: note: expected â€˜size_t * __restrict__’ but argument is of type â€˜char *’<br>dialog.c:780:5: error: too few arguments to function â€˜getline’<br>

In file included from xgraph.h:18:0,<br>                 from dialog.c:11:<br>/usr/include/stdio.h:677:20: note: declared here<br>dialog.c: At top level:<br>dialog.c:891:1: error: conflicting types for â€˜getline’<br>In file included from xgraph.h:18:0,<br>

                 from dialog.c:11:<br>/usr/include/stdio.h:677:20: note: previous declaration of â€˜getline’ was here<br>make: *** [dialog.o] Error 1<br>
</div>