projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1039d32
)
Moved #endif so that lockit () is only declared with DOT_LOCKING, to avoid compile...
author
David Levine
<levinedl@acm.org>
Wed, 28 Dec 2011 04:41:24 +0000
(22:41 -0600)
committer
David Levine
<levinedl@acm.org>
Wed, 28 Dec 2011 04:41:24 +0000
(22:41 -0600)
sbr/lock_file.c
patch
|
blob
|
history
diff --git
a/sbr/lock_file.c
b/sbr/lock_file.c
index
7eaa0de
..
51576ea
100644
(file)
--- a/
sbr/lock_file.c
+++ b/
sbr/lock_file.c
@@
-107,11
+107,11
@@
static void lockname (char *, struct lockinfo *, int);
static void timerON (char *, int);
static void timerOFF (int);
static RETSIGTYPE alrmser (int);
-#endif
#if !defined(HAVE_LIBLOCKFILE)
static int lockit (struct lockinfo *);
#endif
+#endif
/*
* Base routine to open and lock a file,