summaryrefslogtreecommitdiff
path: root/src/filelock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/filelock.c')
-rw-r--r--src/filelock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filelock.c b/src/filelock.c
index d8e30acc9d5..b5dce88639f 100644
--- a/src/filelock.c
+++ b/src/filelock.c
@@ -368,7 +368,7 @@ lock_if_free (clasher, lfname)
void
lock_file (fn)
- register Lisp_Object fn;
+ Lisp_Object fn;
{
register Lisp_Object attack, orig_fn;
register char *lfname, *locker;
@@ -384,7 +384,7 @@ lock_file (fn)
visited. */
{
register Lisp_Object subject_buf;
- struct gcpro1;
+ struct gcpro gcpro1;
subject_buf = get_truename_buffer (orig_fn);
GCPRO1 (fn);