Bryan Drewery před 22 roky
rodič
revize
7f716a9ec3
1 změnil soubory, kde provedl 6 přidání a 0 odebrání
  1. 6 0
      src/debug.c

+ 6 - 0
src/debug.c

@@ -170,7 +170,9 @@ static void write_debug()
 }
 }
 #endif /* DEBUG_CONTEXT */
 #endif /* DEBUG_CONTEXT */
 
 
+#ifndef DEBUG_CONTEXT
 static void got_bus(int) __attribute__ ((noreturn));
 static void got_bus(int) __attribute__ ((noreturn));
+#endif /* DEBUG_CONTEXT */
 
 
 static void got_bus(int z)
 static void got_bus(int z)
 {
 {
@@ -239,7 +241,9 @@ stackdump(int idx)
 };
 };
 #endif /* !CYGWIN_HACKS */
 #endif /* !CYGWIN_HACKS */
 
 
+#ifndef DEBUG_CONTEXT
 static void got_segv(int) __attribute__ ((noreturn));
 static void got_segv(int) __attribute__ ((noreturn));
+#endif /* DEBUG_CONTEXT */
 
 
 static void got_segv(int z)
 static void got_segv(int z)
 {
 {
@@ -279,7 +283,9 @@ static void got_term(int z)
   exit(1);		/* for GCC noreturn */
   exit(1);		/* for GCC noreturn */
 }
 }
 
 
+#ifndef DEBUG_CONTEXT
 static void got_abort(int) __attribute__ ((noreturn));
 static void got_abort(int) __attribute__ ((noreturn));
+#endif /* DEBUG_CONTEXT */
 
 
 static void got_abort(int z)
 static void got_abort(int z)
 {
 {