* m68k-tdep.c (m68k_saved_pc_after_call): Use 'GDB_TARGET_IS_SUN3'
[deliverable/binutils-gdb.git] / gdb / cadillac.c
index 9bf824f2b7dfe9901d78014f7691587cbda65c11..4f59924104881aec1f5babccd7af40cc6990a479 100755 (executable)
@@ -43,7 +43,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include <signal.h>
 #include <sys/errno.h>
 #include <termios.h>
-#include <strings.h>
+#include <string.h>
 
 /* Non-zero means that we're doing the cadillac interface. */
 int cadillac = 0;
@@ -814,7 +814,7 @@ getpty()
 \f
 /* Examine a protocol packet from the driver. */
 
-static int
+static void
 kernel_dispatch(queue)
      int queue;                        /* Non-zero means we should just queue up
                                   commands. */
@@ -949,7 +949,7 @@ kernel_dispatch(queue)
            char *tail;
            int skipped;
 
-           tail = rindex(req->newBreakpoint.fileName.text, '/');
+           tail = strrchr(req->newBreakpoint.fileName.text, '/');
            if (!tail)
              tail = req->newBreakpoint.fileName.text;
            else
@@ -1386,7 +1386,8 @@ cadillac_new_process()
 }
 
 static void
-iosig()
+iosig(signo)
+     int signo;
 {
   while (1)
     {
This page took 0.024189 seconds and 4 git commands to generate.