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 --- lock.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lock.c') diff --git a/lock.c b/lock.c index 277e20bf..39351be1 100644 --- a/lock.c +++ b/lock.c @@ -26,7 +26,7 @@ static char *lockfile; /* name of lockfile */ static int lock_acquired; /* have we acquired a lock */ -void lock_setup(struct runctl *ctl) +void fm_lock_setup(struct runctl *ctl) /* set up the global lockfile name */ { /* set up to do lock protocol */ @@ -63,7 +63,7 @@ static void unlockit(void) unlink(lockfile); } -void lock_dispose(void) +void fm_lock_dispose(void) /* arrange for a lock to be removed on process exit */ { #ifdef HAVE_ATEXIT @@ -71,7 +71,7 @@ void lock_dispose(void) #endif } -int lock_state(void) +int fm_lock_state(void) { int pid, st; FILE *lockfp; @@ -111,13 +111,13 @@ int lock_state(void) return(bkgd ? -pid : pid); } -void lock_assert(void) +void fm_lock_assert(void) /* assert that we already posess a lock */ { lock_acquired = TRUE; } -void lock_or_die(void) +void fm_lock_or_die(void) /* get a lock on a given host or exit */ { int fd; -- cgit v1.2.3