emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r108708: src/w32.c (ltime): Add re


From: Juanma Barranquero
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r108708: src/w32.c (ltime): Add return type and declare static.
Date: Fri, 02 Nov 2012 02:23:48 -0000
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 108708
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Sat 2012-06-23 18:56:47 +0200
message:
  src/w32.c (ltime): Add return type and declare static.
  (w32_get_internal_run_time): Remove usused variable `time_100ns'.
modified:
  src/ChangeLog
  src/w32.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-06-23 16:44:45 +0000
+++ b/src/ChangeLog     2012-06-23 16:56:47 +0000
@@ -1,3 +1,8 @@
+2012-06-23  Juanma Barranquero  <address@hidden>
+
+       * w32.c (ltime): Add return type and declare static.
+       (w32_get_internal_run_time): Remove usused variable `time_100ns'.
+
 2012-06-23  Paul Eggert  <address@hidden>
 
        * sysdep.c [__FreeBSD__]: Fix more recently-introduced typos.

=== modified file 'src/w32.c'
--- a/src/w32.c 2012-06-23 10:22:59 +0000
+++ b/src/w32.c 2012-06-23 16:56:47 +0000
@@ -333,7 +333,6 @@
       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 @@
   return ret_val;
 }
 
+static Lisp_Object
 ltime (ULONGLONG time_100ns)
 {
   ULONGLONG time_sec = time_100ns / 10000000;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]