Implement pahole-like 'ptype /o' option
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / signals.c
index d97719c333bfeed67bca0ea822cac89d9c5a1577..756606880fa5157e1165d90c25658b72ce9d2f20 100644 (file)
@@ -3,21 +3,11 @@
 #include <signal.h>
 #include <unistd.h>
 
-#ifdef __sh__
-#define signal(a,b)    /* Signals not supported on this target - make them go away */
-#define alarm(a)       /* Ditto for alarm() */
-#endif
 
 static int count = 0;
 
-#ifdef PROTOTYPES
 static void
 handler (int sig)
-#else
-static void
-handler (sig)
-     int sig;
-#endif
 {
   signal (sig, handler);
   ++count;
This page took 0.023901 seconds and 4 git commands to generate.