aboutsummaryrefslogtreecommitdiffstats
path: root/util/dotlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/dotlock.c')
-rw-r--r--util/dotlock.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/util/dotlock.c b/util/dotlock.c
index fc8ddae36..a56789608 100644
--- a/util/dotlock.c
+++ b/util/dotlock.c
@@ -46,11 +46,10 @@ struct dotlock_handle {
};
-static DOTLOCK all_lockfiles;
+static volatile DOTLOCK all_lockfiles;
static int never_lock;
static int read_lockfile( const char *name );
-static void remove_lockfiles(void);
void
disable_dotlock(void)
@@ -349,7 +348,7 @@ read_lockfile( const char *name )
}
-static void
+void
remove_lockfiles()
{
#ifndef HAVE_DOSISH_SYSTEM