Build without warnings under Linux.
authorMichael Meissner <gnu@the-meissners.org>
Wed, 1 Mar 1995 18:58:34 +0000 (18:58 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Wed, 1 Mar 1995 18:58:34 +0000 (18:58 +0000)
gdb/ChangeLog
gdb/rs6000-tdep.c
readline/ChangeLog

index 8a35495b24d67470499b5f0edcd8422676b62532..b1f621de353439f81cb110e4c524856a1bea78a7 100644 (file)
@@ -1,3 +1,12 @@
+Wed Mar  1 13:42:49 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * remote.c (remote_wait): Make calls to strtol be type correct by
+       passing the address of a char * pointer instead of an unsigned
+       char *.
+
+       * rs6000-tdep.c (push_dummy_frame): Cast sp to char * when calling
+       write_memory to make things type correct.
+
 Wed Mar  1 12:17:31 1995  Michael Meissner  <meissner@cygnus.com>
 
        * ch-exp.y, c-exp.y, f-exp.y, m2-exp.y (yy defines): Support the
index 6cac92e5e57f47dad3336196f3a0fdd5b5de4d4c..f08c77d7b80919a0fd6ff9e25990d5565a485b02 100644 (file)
@@ -383,7 +383,7 @@ push_dummy_frame ()
   }
 
   /* Save sp or so called back chain right here. */
-  write_memory (sp-DUMMY_FRAME_SIZE, &sp, 4);
+  write_memory (sp-DUMMY_FRAME_SIZE, (char *)&sp, 4);
   sp -= DUMMY_FRAME_SIZE;
 
   /* And finally, this is the back chain. */
@@ -852,7 +852,7 @@ ran_out_of_registers_for_arguments:
   read_memory (saved_sp, tmp_buffer, 24);
   write_memory (sp, tmp_buffer, 24);
 
-    write_memory (sp, &saved_sp, 4);   /* set back chain properly */
+    write_memory (sp, (char *)&saved_sp, 4);   /* set back chain properly */
 
   target_store_registers (-1);
   return sp;
index 79328ed6883d3c18e5086845244f79ea4fa82140..74d8c82dda7f25d5247eb1f9bf55eb701b883dc3 100644 (file)
@@ -1,3 +1,12 @@
+Wed Mar  1 13:33:43 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * rltty.c (outchar): Provide prototype for outchar, to silence
+       type warnings in passing outchar to tputs on systems like Linux
+       that have full prototypes.
+
+       * signals.c (_rl_output_character_function): Provide prototype to
+       silence type warnings.
+
 Sun Jan 15 14:10:37 1995  Steve Chamberlain  <sac@splat>
 
        * rldefs.h: Define MINIMAL for __GO32__ and WIN32.
This page took 0.03029 seconds and 4 git commands to generate.