Fix my last change to actually compile.
[deliverable/binutils-gdb.git] / gdb / m68klinux-nat.c
index 4eed201fcaf9de7e2632ed6998e8899e659f5667..b78b8a5acb3e536a02f9b012c879a256ec1bab72 100644 (file)
@@ -60,9 +60,7 @@ static const int regmap[] =
    is stored.  */
 
 int
-m68k_linux_register_u_addr (blockend, regnum)
-     int blockend;
-     int regnum;
+m68k_linux_register_u_addr (int blockend, int regnum)
 {
   return (blockend + 4 * regmap[regnum]);
 }
@@ -82,9 +80,11 @@ m68k_linux_register_u_addr (blockend, regnum)
 
 #ifndef USE_PROC_FS
 
+/* Prototypes for supply_gregset etc. */
+#include "gregset.h"
+
 void
-supply_gregset (gregsetp)
-     gregset_t *gregsetp;
+supply_gregset (gregset_t *gregsetp)
 {
   int regi;
 
@@ -99,8 +99,7 @@ supply_gregset (gregsetp)
    idea of the current floating point register values. */
 
 void
-supply_fpregset (fpregsetp)
-     fpregset_t *fpregsetp;
+supply_fpregset (fpregset_t *fpregsetp)
 {
   int regi;
 
@@ -115,7 +114,7 @@ supply_fpregset (fpregsetp)
 \f
 
 int
-kernel_u_size ()
+kernel_u_size (void)
 {
   return (sizeof (struct user));
 }
@@ -123,8 +122,7 @@ kernel_u_size ()
 /* Return non-zero if PC points into the signal trampoline.  */
 
 int
-in_sigtramp (pc)
-     CORE_ADDR pc;
+in_sigtramp (CORE_ADDR pc)
 {
   CORE_ADDR sp;
   char buf[TARGET_SHORT_BIT / TARGET_CHAR_BIT];
This page took 0.023898 seconds and 4 git commands to generate.