From f34b0b77094710429baf281a4f567aaff526a756 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 14 Mar 2000 04:44:50 +0000 Subject: Rename idle(). svn path=/trunk/; revision=2826 --- fetchmail.c | 2 +- fetchmail.h | 2 +- idle.c | 2 +- 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; -- cgit v1.2.3