]> git.eshelyaron.com Git - emacs.git/commitdiff
src/w32.c (ltime): Add return type and declare static.
authorJuanma Barranquero <lekktu@gmail.com>
Sat, 23 Jun 2012 16:56:47 +0000 (18:56 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Sat, 23 Jun 2012 16:56:47 +0000 (18:56 +0200)
(w32_get_internal_run_time): Remove usused variable `time_100ns'.

src/ChangeLog
src/w32.c

index 223d9c4bd13079fb2d0c802d4cbcf2de6bf24193..f1099c6ef90d60627e8b264b1e254d44a0860e6f 100644 (file)
@@ -1,3 +1,8 @@
+2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
+
+       * w32.c (ltime): Add return type and declare static.
+       (w32_get_internal_run_time): Remove usused variable `time_100ns'.
+
 2012-06-23  Paul Eggert  <eggert@cs.ucla.edu>
 
        * sysdep.c [__FreeBSD__]: Fix more recently-introduced typos.
index 5a36a43302e0dd7577bf3738abce8270a7c4b46d..b0272c6487164304a99b9b355b6d84b118d3c459 100644 (file)
--- a/src/w32.c
+++ b/src/w32.c
@@ -333,7 +333,6 @@ w32_get_internal_run_time (void)
       if ((*get_process_times_fn) (proc, &create, &exit, &kernel, &user))
         {
           LARGE_INTEGER user_int, kernel_int, total;
-         int time_100ns;
           user_int.LowPart = user.dwLowDateTime;
           user_int.HighPart = user.dwHighDateTime;
           kernel_int.LowPart = kernel.dwLowDateTime;
@@ -4093,6 +4092,7 @@ restore_privilege (TOKEN_PRIVILEGES *priv)
   return ret_val;
 }
 
+static Lisp_Object
 ltime (ULONGLONG time_100ns)
 {
   ULONGLONG time_sec = time_100ns / 10000000;