From 04bec665678f678ffa6cd76119d815888c3a2f9b Mon Sep 17 00:00:00 2001 From: asvitkine <> Date: Wed, 11 Feb 2009 20:44:49 +0000 Subject: [PATCH] don't re-declare sigsegv_info_t, instead use the one from the header --- SheepShaver/src/Unix/main_unix.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/SheepShaver/src/Unix/main_unix.cpp b/SheepShaver/src/Unix/main_unix.cpp index d13c3443..b8f04c51 100644 --- a/SheepShaver/src/Unix/main_unix.cpp +++ b/SheepShaver/src/Unix/main_unix.cpp @@ -1623,15 +1623,6 @@ void sigusr2_handler(int sig, siginfo_t *sip, void *scp) */ #if !EMULATED_PPC -// XXX: don't redefine locally? -// Note: Original declaration is in sigsegv.cpp -// FIXME: If HAVE_MACH_EXCEPTIONS is set, sigsegv_info_t has a bunch of other -// fields too! Let's hope Screen_fault_handler() doesn't use them... -struct sigsegv_info_t { - sigsegv_address_t addr; - sigsegv_address_t pc; -}; - static void sigsegv_handler(int sig, siginfo_t *sip, void *scp) { machine_regs *r = MACHINE_REGISTERS(scp);