Commit ca4c4782 authored by Matthias Andree's avatar Matthias Andree

Add Doxygen comments to complement lock.h documentation.

svn path=/branches/BRANCH_6-3/; revision=4863
parent 274eec54
/*
* 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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment