From 988cf5d51958127d579f97a0d4632930a25ee11e Mon Sep 17 00:00:00 2001 From: David Levine Date: Tue, 27 Dec 2011 22:41:24 -0600 Subject: [PATCH] Moved #endif so that lockit () is only declared with DOT_LOCKING, to avoid compile warning without it. --- sbr/lock_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbr/lock_file.c b/sbr/lock_file.c index 7eaa0de..51576ea 100644 --- 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, -- 1.7.10.4