[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 21de5e7: Fix compilation MinGW warnings
From: |
Eli Zaretskii |
Subject: |
emacs-28 21de5e7: Fix compilation MinGW warnings |
Date: |
Sun, 7 Nov 2021 10:03:31 -0500 (EST) |
branch: emacs-28
commit 21de5e7b2e55d98aab9750abac6f70243fd1b61d
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
Fix compilation MinGW warnings
* src/w32.h (prepare_standard_handles, reset_standard_handles):
Fix prototypes. Reported by Andy Moreton
<andrewjmoreton@gmail.com> in
https://lists.gnu.org/archive/html/emacs-devel/2021-11/msg00597.html.
---
src/w32.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/w32.h b/src/w32.h
index ffa145b..5aba0ae 100644
--- a/src/w32.h
+++ b/src/w32.h
@@ -155,11 +155,11 @@ extern unsigned int w32_get_short_filename (const char *,
char *, int);
/* Prepare our standard handles for proper inheritance by child processes. */
extern void prepare_standard_handles (int in, int out,
- int err, HANDLE handles[4]);
+ int err, HANDLE handles[3]);
/* Reset our standard handles to their original state. */
extern void reset_standard_handles (int in, int out,
- int err, HANDLE handles[4]);
+ int err, HANDLE handles[3]);
/* Return the string resource associated with KEY of type TYPE. */
extern LPBYTE w32_get_resource (const char * key, LPDWORD type);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 21de5e7: Fix compilation MinGW warnings,
Eli Zaretskii <=