X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/00d760f7506c2d5c32ab5abf9f11b3066999f08a..42db3a2c36e26e0106b1e480407e32d3c8c09bef:/sbr/lock_file.c diff --git a/sbr/lock_file.c b/sbr/lock_file.c index b1f31b68..f8e4b6c7 100644 --- a/sbr/lock_file.c +++ b/sbr/lock_file.c @@ -13,10 +13,12 @@ * Ruud de Rooij Sun, 28 Mar 1999 15:34:03 +0200 */ -#include -#include -#include -#include +#include "h/mh.h" +#include "context_find.h" +#include "error.h" +#include "h/signals.h" +#include "h/utils.h" +#include "h/mts.h" #include "lock_file.h" #include "m_mktemp.h" @@ -133,7 +135,8 @@ lkopendata(const char *file, int access, mode_t mode, int *failed_to_lock) * Locking using the spool locking algorithm */ -int lkopenspool(const char *file, int access, mode_t mode, int *failed_to_lock) +int +lkopenspool(const char *file, int access, mode_t mode, int *failed_to_lock) { static bool deja_vu;