mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-05 19:31:02 -08:00
* filelock.c (within_one_second): Now static.
This commit is contained in:
parent
5df8f01bab
commit
03d78a21be
2 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
|||
2011-03-15 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* filelock.c (within_one_second): Now static.
|
||||
|
||||
* buffer.c (fix_overlays_before): Mark locals as initialized.
|
||||
(fix_start_end_in_overlays): Likewise. This function should be
|
||||
simplified by using pointers-to-pointers, but that's a different
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue