* emultempl/pe.em (gld_*_after_open): detect case where there two
[binutils-gdb.git] / ld / ldcref.c
index c75b8e63fe14c912500c357d173abd5cbc9854f7..f7751e3c3d9ee6675e72461068481b976a3f1a93 100644 (file)
@@ -1,5 +1,5 @@
 /* ldcref.c -- output a cross reference table
-   Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1996, 97, 98, 99, 2000 Free Software Foundation, Inc.
    Written by Ian Lance Taylor <ian@cygnus.com>
 
 This file is part of GLD, the Gnu Linker.
@@ -145,7 +145,6 @@ cref_hash_newfunc (entry, table, string)
 /* Add a symbol to the cref hash table.  This is called for every
    symbol that is seen during the link.  */
 
-/*ARGSUSED*/
 void
 add_cref (name, abfd, section, value)
      const char *name;
@@ -238,11 +237,11 @@ output_cref (fp)
 
   fprintf (fp, _("\nCross Reference Table\n\n"));
   msg = _("Symbol");
-  fprintf (fp, msg);
+  fprintf (fp, "%s", msg);
   len = strlen (msg);
   while (len < FILECOL)
     {
-      putc (' ' , fp);
+      putc (' ', fp);
       ++len;
     }
   fprintf (fp, _("File\n"));
@@ -350,7 +349,6 @@ check_nocrossrefs ()
 
 /* Check one symbol to see if it is a prohibited cross reference.  */
 
-/*ARGSUSED*/
 static boolean
 check_nocrossref (h, ignore)
      struct cref_hash_entry *h;