aboutsummaryrefslogtreecommitdiffstats
path: root/lock.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-07-04 10:05:05 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-07-04 10:05:05 +0000
commitca4c478270ca3645015c94c8d5195a3d4aba1d6a (patch)
tree14270082fa59ee54cd2df383587c6b0d095c6d69 /lock.c
parent274eec54e80cb90b8a09f524c8495efbaa46b45d (diff)
downloadfetchmail-ca4c478270ca3645015c94c8d5195a3d4aba1d6a.tar.gz
fetchmail-ca4c478270ca3645015c94c8d5195a3d4aba1d6a.tar.bz2
fetchmail-ca4c478270ca3645015c94c8d5195a3d4aba1d6a.zip
Add Doxygen comments to complement lock.h documentation.
svn path=/branches/BRANCH_6-3/; revision=4863
Diffstat (limited to 'lock.c')
-rw-r--r--lock.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lock.c b/lock.c
index c0290393..e56fe344 100644
--- a/lock.c
+++ b/lock.c
@@ -1,5 +1,5 @@
-/*
- * lock.c -- cross-platform concurrency locking for fetchmail
+/**
+ * \file lock.c cross-platform concurrency locking for fetchmail
*
* For license terms, see the file COPYING in this directory.
*/
@@ -23,8 +23,8 @@
#include "i18n.h"
#include "lock.h"
-static char *lockfile; /* name of lockfile */
-static int lock_acquired; /* have we acquired a lock */
+static char *lockfile; /** name of lockfile */
+static int lock_acquired; /** flag if have we acquired a lock */
void fm_lock_setup(struct runctl *ctl)
/* set up the global lockfile name */
@@ -113,7 +113,7 @@ int fm_lock_state(void)
}
void fm_lock_assert(void)
-/* assert that we already posess a lock */
+/* assert that we already possess a lock */
{
lock_acquired = TRUE;
}