mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-31 11:13:50 +00:00
src/w32.c (ltime): Add return type and declare static.
(w32_get_internal_run_time): Remove usused variable `time_100ns'.
This commit is contained in:
parent
db7b8d066d
commit
ca300656a5
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user