summaryrefslogtreecommitdiff
path: root/src/filelock.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-03-14 18:16:59 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-03-14 18:16:59 -0700
commit03d78a21befef9074bd85bba98968e9c25e022af (patch)
tree780fcd5ed1f266c3a779838b84f5d5dbba67282f /src/filelock.c
parent5df8f01bab8c0bbc3391f41c54138d0a18973424 (diff)
downloademacs-03d78a21befef9074bd85bba98968e9c25e022af.tar.gz
* filelock.c (within_one_second): Now static.
Diffstat (limited to 'src/filelock.c')
-rw-r--r--src/filelock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filelock.c b/src/filelock.c
index 7f8f0e1c0fb..0e4cee3c844 100644
--- a/src/filelock.c
+++ b/src/filelock.c
@@ -382,7 +382,7 @@ lock_file_1 (char *lfname, int force)
/* Return 1 if times A and B are no more than one second apart. */
-int
+static int
within_one_second (time_t a, time_t b)
{
return (a - b >= -1 && a - b <= 1);