Moved #endif so that lockit () is only declared with DOT_LOCKING,
[mmh] / sbr / lock_file.c
index e065c93..b4a1547 100644 (file)
@@ -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,