aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-05-12 12:48:13 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-05-12 12:48:13 +0000
commit08f6a9bfc9a9ef93767f9fdcbc5c1991a943061a (patch)
treefc3c8f6e46e4917520a075a3020110ac3a879de6 /fetchmail.c
parentdbf4266b849395808cd77ec2f12d2aa471854533 (diff)
downloadfetchmail-08f6a9bfc9a9ef93767f9fdcbc5c1991a943061a.tar.gz
fetchmail-08f6a9bfc9a9ef93767f9fdcbc5c1991a943061a.tar.bz2
fetchmail-08f6a9bfc9a9ef93767f9fdcbc5c1991a943061a.zip
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
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c10
1 files changed, 5 insertions, 5 deletions
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