From: Chris Allegretta Date: Thu, 3 Jan 2013 03:57:18 +0000 (+0000) Subject: Add missing proto for int write_lockfile() X-Git-Tag: v2.3.2~16 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=170607b6c909597f0a54ee09b95402b4b04eebfd;p=nano.git Add missing proto for int write_lockfile() git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4554 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/proto.h b/src/proto.h index 7971fbf8..b27c9d00 100644 --- a/src/proto.h +++ b/src/proto.h @@ -297,6 +297,7 @@ bool check_operating_dir(const char *currpath, bool allow_tabcomp); #ifndef NANO_TINY void init_backup_dir(void); int delete_lockfile(const char *lockfilename); +int write_lockfile(const char *lockfilename, const char *origfilename, bool modified); #endif int copy_file(FILE *inn, FILE *out); bool write_file(const char *name, FILE *f_open, bool tmp, append_type