Commit ca300656 authored by Juanma Barranquero's avatar Juanma Barranquero

src/w32.c (ltime): Add return type and declare static.

(w32_get_internal_run_time): Remove usused variable `time_100ns'.
parent db7b8d06
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.
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment