aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-06-28 05:28:54 +0000
committerAlan Modra <amodra@gmail.com>2003-06-28 05:28:54 +0000
commit1579bae1cd094ed9b986d2128997953600ca910d (patch)
tree17d62b19ecb6002f3c0982a8a13011ce3f83aa8a /ld/ld.h
parentb9ae04920ab4f0d0c10fad9dff55c4ca3e2d2251 (diff)
downloadgdb-1579bae1cd094ed9b986d2128997953600ca910d.zip
gdb-1579bae1cd094ed9b986d2128997953600ca910d.tar.gz
gdb-1579bae1cd094ed9b986d2128997953600ca910d.tar.bz2
Convert to C90
Diffstat (limited to 'ld/ld.h')
-rw-r--r--ld/ld.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/ld/ld.h b/ld/ld.h
index 75c054e..dde4cfe 100644
--- a/ld/ld.h
+++ b/ld/ld.h
@@ -232,18 +232,15 @@ extern bfd_boolean force_make_executable;
/* Non-zero if we are processing a --defsym from the command line. */
extern int parsing_defsym;
-extern int yyparse PARAMS ((void));
-
-extern void add_cref PARAMS ((const char *, bfd *, asection *, bfd_vma));
-extern void output_cref PARAMS ((FILE *));
-extern void check_nocrossrefs PARAMS ((void));
-
-extern void ld_abort PARAMS ((const char *, int, const char *))
- ATTRIBUTE_NORETURN;
+extern int yyparse (void);
+extern void add_cref (const char *, bfd *, asection *, bfd_vma);
+extern void output_cref (FILE *);
+extern void check_nocrossrefs (void);
+extern void ld_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
/* If gcc >= 2.6, we can give a function name, too. */
#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 6)
-#define __PRETTY_FUNCTION__ ((char*) NULL)
+#define __PRETTY_FUNCTION__ NULL
#endif
#undef abort