From: markus schnalke Date: Mon, 26 Mar 2012 19:32:32 +0000 (+0200) Subject: Moved #endif so that lockit () is only declared with DOT_LOCKING, X-Git-Tag: mmh-thesis-end~190 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=adf591eb56d60000e806e20c42eb1907e2cc6fcd Moved #endif so that lockit () is only declared with DOT_LOCKING, to avoid compile warning without it. Merged from nmh. Thanks to David Levine. --- diff --git a/sbr/lock_file.c b/sbr/lock_file.c index e065c93..b4a1547 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,