Add GPL copyright notices to uncopyrighted files.
[deliverable/binutils-gdb.git] / gdb / i387-tdep.c
index f887da95b2617a77819b380c9249f03dee225e29..4f180fa8fa7bcff809d52eb7e9b6e0636e912939 100644 (file)
@@ -30,8 +30,8 @@
 /* FIXME: Eliminate the next two functions when we have the time to
    change all the callers.  */
 
-void i387_to_double PARAMS ((char *from, char *to));
-void double_to_i387 PARAMS ((char *from, char *to));
+void i387_to_double (char *from, char *to);
+void double_to_i387 (char *from, char *to);
 
 void
 i387_to_double (from, to)
@@ -56,8 +56,8 @@ double_to_i387 (from, to)
    use the generic implementation based on the new register file
    layout.  */
 
-static void print_387_control_bits PARAMS ((unsigned int control));
-static void print_387_status_bits PARAMS ((unsigned int status));
+static void print_387_control_bits (unsigned int control);
+static void print_387_status_bits (unsigned int status);
 
 static void
 print_387_control_bits (control)
@@ -176,7 +176,8 @@ print_i387_value (char *raw)
     {
       /* Copy straight over, but take care of the padding.  */
       memcpy (&value, raw, FPU_REG_RAW_SIZE);
-      memset (&value + FPU_REG_RAW_SIZE, 0, sizeof (value) - FPU_REG_RAW_SIZE);
+      memset ((char *) &value + FPU_REG_RAW_SIZE, 0,
+             sizeof (value) - FPU_REG_RAW_SIZE);
     }
   else
 #endif
This page took 0.024738 seconds and 4 git commands to generate.