This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

RE: New ARI warning Wed Mar 6 02:09:39 UTC 2013 in -D 2013-03-06-gmt


Fix committed as obvious below,

Pierre Muller,
as ARI maintainer


> -----Message d'origine-----
> De?: gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de GDB Administrator
> Envoyé?: mercredi 6 mars 2013 03:10
> À?: gdb-patches@sourceware.org
> Objet?: New ARI warning Wed Mar 6 02:09:39 UTC 2013 in -D 2013-03-06-gmt
> 
> 375a376
> > gdb/linespec.c:1072: code: no parameter function: Function having no
> parameter should be declared with funcname (void).
> gdb/linespec.c:1072:get_current_search_block ()


2013-03-06  Pierre Muller  <muller@sourceware.org>

        * linespec.c (get_current_search_block): ARI fix, use (void)
        for empty parameter list.

Index: linespec.c
===================================================================
RCS file: /cvs/src/src/gdb/linespec.c,v
retrieving revision 1.179
diff -u -p -r1.179 linespec.c
--- linespec.c  5 Mar 2013 21:15:34 -0000       1.179
+++ linespec.c  6 Mar 2013 11:02:17 -0000
@@ -1069,7 +1069,7 @@ iterate_over_all_matching_symtabs (struc
    the current location.  */

 static struct block *
-get_current_search_block ()
+get_current_search_block (void)
 {
   struct block *block;
   enum language save_language;


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