* complaints.c: New file, code moved from utils.c.
[deliverable/binutils-gdb.git] / gdb / buildsym.c
index a25190a6168054fd9b1e698bb85e84cf23984ce5..73ca9b24ce6b7e738cd944fc1234651b2ee3f774 100644 (file)
@@ -31,6 +31,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include "symtab.h"
 #include "symfile.h"           /* Needed for "struct complaint" */
 #include "objfiles.h"
+#include "complaints.h"
 #include <string.h>
 
 /* Ask buildsym.h to define the vars it normally declares `extern'.  */
@@ -260,7 +261,7 @@ finish_block (symbol, listhead, old_blocks, start, end, objfile)
                }
              else
                {
-                 complain (&innerblock_anon_complaint, 0);
+                 complain (&innerblock_anon_complaint);
                }
              BLOCK_START (pblock->block) = BLOCK_START (block);
              BLOCK_END   (pblock->block) = BLOCK_END   (block);
@@ -345,7 +346,7 @@ make_blockvector (objfile)
              > BLOCK_START(BLOCKVECTOR_BLOCK (blockvector, i)))
            {
              complain (&blockvector_complaint, 
-                       (char *) BLOCK_START(BLOCKVECTOR_BLOCK (blockvector, i)));
+                       BLOCK_START(BLOCKVECTOR_BLOCK (blockvector, i)));
            }
        }
     }
This page took 0.027082 seconds and 4 git commands to generate.