summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2012-10-05 13:19:58 +0200
committerEli Zaretskii <eliz@gnu.org>2012-10-05 13:19:58 +0200
commita65fbb5f0ef0e6929393750ec466f11cefc6ba60 (patch)
tree8fdc31b5851299fabd34a52c9c10d8e893003960
parent0ace05d38a4dfcb5a468adaf8c8d5a6185a9eca2 (diff)
downloademacs-a65fbb5f0ef0e6929393750ec466f11cefc6ba60.tar.gz
Fix a typo in a w32proc.c declaration.
src/w32proc.c (stop_timer_thread): Fix declaration of 'err'.
-rw-r--r--src/ChangeLog2
-rw-r--r--src/w32proc.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b2502010619..cb17e8192e4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
2012-10-05 Eli Zaretskii <eliz@gnu.org>
+ * w32proc.c (stop_timer_thread): Fix declaration of 'err'.
+
* w32.c (utime): Open the file with FILE_FLAG_BACKUP_SEMANTICS, so
that time stamps of directories could also be changed. Don't
request the too broad GENERIC_WRITE, only the more restrictive
diff --git a/src/w32proc.c b/src/w32proc.c
index 56a60fbf25f..d032b21c59e 100644
--- a/src/w32proc.c
+++ b/src/w32proc.c
@@ -404,8 +404,8 @@ stop_timer_thread (int which)
struct itimer_data *itimer =
(which == ITIMER_REAL) ? &real_itimer : &prof_itimer;
int i;
- DWORD exit_code = 255;
- BOOL status, err;
+ DWORD err, exit_code = 255;
+ BOOL status;
/* Signal the thread that it should terminate. */
itimer->terminate = 1;