From 0fa64fa3a7c09bd53be91f5c10e01fff8bdf7242 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 30 Sep 2002 03:01:17 +0000 Subject: * cygpath.cc (close_arg): Remove unused static. * mkgroup.c (enum_local_users): Avoid compiler warning. (enum_users): Ditto. * mkpasswd.c: Ditto throughout. * ssp.c: Ditto throughout. --- winsup/utils/ssp.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'winsup/utils/ssp.c') diff --git a/winsup/utils/ssp.c b/winsup/utils/ssp.c index c6379fbfb..611c57a55 100644 --- a/winsup/utils/ssp.c +++ b/winsup/utils/ssp.c @@ -72,8 +72,8 @@ typedef struct { unsigned char real_byte; } PendingBreakpoints; -int low_pc=0, high_pc=0; -unsigned int last_pc=0, pc, last_sp=0, sp; +unsigned low_pc=0, high_pc=0; +unsigned last_pc=0, pc, last_sp=0, sp; int total_cycles, count; HANDLE hProcess; PROCESS_INFORMATION procinfo; @@ -94,10 +94,10 @@ int dll_counts = 0; int verbose = 0; #define MAXTHREADS 100 -int active_thread_ids[MAXTHREADS]; +DWORD active_thread_ids[MAXTHREADS]; HANDLE active_threads[MAXTHREADS]; -int thread_step_flags[MAXTHREADS]; -int thread_return_address[MAXTHREADS]; +DWORD thread_step_flags[MAXTHREADS]; +DWORD thread_return_address[MAXTHREADS]; int num_active_threads = 0; int suspended_count=0; @@ -158,7 +158,7 @@ remove_breakpoint (unsigned int address) } static HANDLE -lookup_thread_id (int threadId, int *tix) +lookup_thread_id (DWORD threadId, int *tix) { int i; for (i=0; i