File qpopper-getline.diff of Package qpopper
--- popper/popper.c
+++ popper/popper.c
@@ -150,7 +150,7 @@
char message [ MAXLINELEN ];
pop_result rslt = POP_FAILURE;
char * tgetline();
- char * getline();
+ char * my_getline();
/*
* seed random with the current time to nearest second
@@ -425,7 +425,7 @@
*/
char
-*getline ( char *str, int size, POP *pPOP )
+*my_getline ( char *str, int size, POP *pPOP )
{
char *p = NULL;
int nRead = 0;
@@ -614,7 +614,7 @@
VERSION, timeout, p->user, p->client, p->ipaddr );
}
else
- str = getline ( str, size, p );
+ str = my_getline ( str, size, p );
alarm ( 0 );
signal ( SIGALRM, SIG_DFL );