[1/2] cmd: Use correct type instead of void* for prev_context field of BATCH_CONTEXT struct
Frédéric Delanoy
frederic.delanoy at gmail.com
Wed Sep 7 04:00:53 CDT 2011
---
programs/cmd/wcmd.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/cmd/wcmd.h b/programs/cmd/wcmd.h
index c4ece13..bd07f5e 100644
--- a/programs/cmd/wcmd.h
+++ b/programs/cmd/wcmd.h
@@ -120,12 +120,12 @@ void WCMD_execute (const WCHAR *orig_command, const WCHAR *redirects,
/* Data structure to hold context when executing batch files */
-typedef struct {
+typedef struct _BATCH_CONTEXT {
WCHAR *command; /* The command which invoked the batch file */
HANDLE h; /* Handle to the open batch file */
WCHAR *batchfileW; /* Name of same */
int shift_count[10]; /* Offset in terms of shifts for %0 - %9 */
- void *prev_context; /* Pointer to the previous context block */
+ struct _BATCH_CONTEXT *prev_context; /* Pointer to the previous context block */
BOOL skip_rest; /* Skip the rest of the batch program and exit */
CMD_LIST *toExecute; /* Commands left to be executed */
} BATCH_CONTEXT;
--
1.7.6
More information about the wine-patches
mailing list