* corefile.c (core_create_function_syms): Add ATTRIBUTED_UNUSED.
authorIan Lance Taylor <ian@airs.com>
Sun, 11 Jul 1999 20:06:47 +0000 (20:06 +0000)
committerIan Lance Taylor <ian@airs.com>
Sun, 11 Jul 1999 20:06:47 +0000 (20:06 +0000)
* sym-ids.c (non_existent_file): Fully initialize structure.

gprof/ChangeLog
gprof/corefile.c
gprof/sym_ids.c

index 1c97fc44802e02fb6e8a570afca662cf5a7d9f88..4ffadb5137f13d16f557ae6a4985e141e47a14cc 100644 (file)
@@ -1,3 +1,8 @@
+1999-07-11  Ian Lance Taylor  <ian@zembu.com>
+
+       * corefile.c (core_create_function_syms): Add ATTRIBUTED_UNUSED.
+       * sym-ids.c (non_existent_file): Fully initialize structure.
+
 1999-07-01  Ian Lance Taylor  <ian@zembu.com>
 
        * Many files: Add casts in many print statements to cast bfd_vma
index 115daa7f142a86903c8067a32ca3587a0346ffca..24539bcdf963fe7bdabc949b54bbd8e71f6e095c 100644 (file)
@@ -392,7 +392,8 @@ DEFUN (get_src_info, (addr, filename, name, line_num),
  * entered.
  */
 void
-DEFUN (core_create_function_syms, (core_bfd), bfd * core_bfd)
+core_create_function_syms (core_bfd)
+     bfd *core_bfd ATTRIBUTE_UNUSED;
 {
   bfd_vma min_vma = ~0, max_vma = 0;
   int class;
index 9e0feaa5e56e17c8921fa133460b39544e3e5f05..412c8d482791c6726bdd61ac9eda52c1283317c6 100644 (file)
@@ -46,7 +46,7 @@ static Sym_Table right_ids;
 
 static Source_File non_existent_file =
 {
-  0, "<non-existent-file>"
+  0, "<non-existent-file>", 0, 0, 0, NULL
 };