aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-03-14 04:44:50 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-03-14 04:44:50 +0000
commitf34b0b77094710429baf281a4f567aaff526a756 (patch)
tree88b0dd96f5105e208de3c1cba81033e4d4fa8ef1
parentb1a68e0ae19b4b7300fbe813f45a3577384c8675 (diff)
downloadfetchmail-f34b0b77094710429baf281a4f567aaff526a756.tar.gz
fetchmail-f34b0b77094710429baf281a4f567aaff526a756.tar.bz2
fetchmail-f34b0b77094710429baf281a4f567aaff526a756.zip
Rename idle().
svn path=/trunk/; revision=2826
-rw-r--r--fetchmail.c2
-rw-r--r--fetchmail.h2
-rw-r--r--idle.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 95430c08..8d9dc8cc 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -729,7 +729,7 @@ int main(int argc, char **argv)
* unwedge all servers in case the problem has been
* manually repaired.
*/
- if ((lastsig = idle(run.poll_interval)))
+ if ((lastsig = interruptible_idle(run.poll_interval)))
{
#ifdef SYS_SIGLIST_DECLARED
report(stdout,
diff --git a/fetchmail.h b/fetchmail.h
index c17a1585..fa38c73e 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -410,7 +410,7 @@ extern int stage;
#define XMIT_RCPTBAD 3 /* SMTP listener rejected the name */
/* idle.c */
-int idle(int interval);
+int interruptible_idle(int interval);
/* sink.c: forwarding */
int stuffline(struct query *, char *);
diff --git a/idle.c b/idle.c
index bcc56122..67b52b56 100644
--- a/idle.c
+++ b/idle.c
@@ -66,7 +66,7 @@ void itimerthread(void* dummy)
RETSIGTYPE donothing(int sig) {signal(sig, donothing); lastsig = sig;}
-int idle(int seconds)
+int interruptible_idle(int seconds)
/* time for a pause in the action; return TRUE if awakened by signal */
{
int awoken = FALSE;