aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-07-23 20:13:18 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-07-23 20:13:18 +0000
commit11d1f24479bca637fd5a21bebe06d96a788f48b7 (patch)
tree99b5a78d2393be2c32c056ec8a3f80b6fda8a3d9 /fetchmail.c
parent400b43162ccffd4a6b444a8efe7b189d8abd4cea (diff)
downloadfetchmail-11d1f24479bca637fd5a21bebe06d96a788f48b7.tar.gz
fetchmail-11d1f24479bca637fd5a21bebe06d96a788f48b7.tar.bz2
fetchmail-11d1f24479bca637fd5a21bebe06d96a788f48b7.zip
Rename lock_release to fm_lock_release, to avoid namespace collision on
Darwin. NetBSD PR#28543 (pkg/28543). svn path=/trunk/; revision=4176
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fetchmail.c b/fetchmail.c
index abc717e0..01d4ad4f 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -406,7 +406,7 @@ int main(int argc, char **argv)
{
fprintf(stderr,GT_("fetchmail: %s fetchmail at %d killed.\n"),
bkgd ? GT_("background") : GT_("foreground"), pid);
- lock_release();
+ fm_lock_release();
if (argc == 2)
exit(0);
else
@@ -1330,7 +1330,7 @@ static RETSIGTYPE terminate_run(int sig)
memset(ctl->password, '\0', strlen(ctl->password));
#if !defined(HAVE_ATEXIT) && !defined(HAVE_ON_EXIT)
- lock_release();
+ fm_lock_release();
#endif
if (activecount == 0)