]> git.eshelyaron.com Git - emacs.git/commitdiff
* filelock.c (within_one_second): Now static.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Mar 2011 01:16:59 +0000 (18:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Mar 2011 01:16:59 +0000 (18:16 -0700)
src/ChangeLog
src/filelock.c

index fae7e8a29c9da51762c33eb3751ab438f57b5ebe..25935defc9bda1f0610c02926f5024db6c8477b2 100644 (file)
@@ -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
index 7f8f0e1c0fb238703ed0c5ec9d1826e07d687e27..0e4cee3c844da95110698a415efd4418bb1d6771 100644 (file)
@@ -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);