This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH]: swat a warning in cli-out.c


Approved.


msnyder@cygnus.com wrote:
> 
> This eliminates a warning on 64-bit solaris.
> 
> 2000-03-23  Michael Snyder  <msnyder@seadog.cygnus.com>
> 
>         * cli-out.h: include gdb_string.h to avoid compiler warnings.
> 
> Index: ChangeLog
> ===================================================================
> RCS file: /cvs/src/src/gdb/ChangeLog,v
> retrieving revision 1.170
> diff -c -r1.170 ChangeLog
> *** ChangeLog   2000/03/23 23:43:19     1.170
> --- ChangeLog   2000/03/24 01:08:15
> ***************
> *** 1,3 ****
> --- 1,7 ----
> + 2000-03-23  Michael Snyder  <msnyder@seadog.cygnus.com>
> +
> +       * cli-out.h: include gdb_string.h to avoid compiler warnings.
> +
>   2000-03-23  Fernando Nasser  <fnasser@cygnus.com>
> 
>         From David Whedon <dwhedon@gordian.com>
> Index: cli-out.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/cli-out.c,v
> retrieving revision 1.2
> diff -c -r1.2 cli-out.c
> *** cli-out.c   2000/02/20 18:23:31     1.2
> --- cli-out.c   2000/03/24 01:08:15
> ***************
> *** 23,28 ****
> --- 23,29 ----
>   #include "defs.h"
>   #include "ui-out.h"
>   #include "cli-out.h"
> + #include "gdb_string.h"
> 
>   /* Convenience macro for allocting typesafe memory. */
> 

-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@cygnus.com
2323 Yonge Street, Suite #300           Tel:  416-482-2661 ext. 311
Toronto, Ontario   M4P 2C9              Fax:  416-482-6299

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]