From 08f6a9bfc9a9ef93767f9fdcbc5c1991a943061a Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 12 May 2006 12:48:13 +0000 Subject: Rename all fetchmail-internal lock_* functions to fm_lock_*. Obsoletes NetBSD portable packages collection patch-ah, patch-ai and patch-aj. svn path=/branches/BRANCH_6-3/; revision=4826 --- fetchmail.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index 4bba7ad1..4905c799 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -198,7 +198,7 @@ int main(int argc, char **argv) * call near the beginning of the polling loop for details). We want * to be sure the lock gets nuked on any error exit, basically. */ - lock_dispose(); + fm_lock_dispose(); #ifdef HAVE_GETCWD /* save the current directory */ @@ -316,7 +316,7 @@ int main(int argc, char **argv) #endif /* POP3_ENABLE */ /* construct the lockfile */ - lock_setup(&run); + fm_lock_setup(&run); #ifdef HAVE_SETRLIMIT /* @@ -401,7 +401,7 @@ int main(int argc, char **argv) } /* check for another fetchmail running concurrently */ - pid = lock_state(); + pid = fm_lock_state(); bkgd = (pid < 0); pid = bkgd ? -pid : pid; @@ -476,7 +476,7 @@ int main(int argc, char **argv) } else if (getpid() == pid) /* this test enables re-execing on a changed rcfile */ - lock_assert(); + fm_lock_assert(); else if (argc > 1) { fprintf(stderr, @@ -581,7 +581,7 @@ int main(int argc, char **argv) set_signal_handler(SIGQUIT, terminate_run); /* here's the exclusion lock */ - lock_or_die(); + fm_lock_or_die(); /* * Query all hosts. If there's only one, the error return will -- cgit v1.2.3