aboutsummaryrefslogtreecommitdiff
path: root/ld/lderror.c
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-03-07 18:31:24 +0000
committerSteve Chamberlain <sac@cygnus>1992-03-07 18:31:24 +0000
commit9aa97a39fed07f48abdf64e964af64c296fa179b (patch)
treea971416a742795e6923c246b910d69bbc844acc4 /ld/lderror.c
parent94f02cf2c22b2fecab542f5f868e55f751147825 (diff)
downloadgdb-9aa97a39fed07f48abdf64e964af64c296fa179b.zip
gdb-9aa97a39fed07f48abdf64e964af64c296fa179b.tar.gz
gdb-9aa97a39fed07f48abdf64e964af64c296fa179b.tar.bz2
Lint removal, extra prototypes.
Recopied cplus-dem from gdb, makes more things come out right.
Diffstat (limited to 'ld/lderror.c')
-rw-r--r--ld/lderror.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/lderror.c b/ld/lderror.c
index 382f7e2..38e2a70 100644
--- a/ld/lderror.c
+++ b/ld/lderror.c
@@ -2,6 +2,7 @@
#include "sysdep.h"
#include "../bfd/seclet.h"
#include "ld.h"
+#include "ldmisc.h"
#define MAX_ERRORS_IN_A_ROW 5
@@ -15,7 +16,7 @@ extern bfd_error_vector_type bfd_error_vector;
static void
DEFUN(ld_undefined_symbol,(relent, seclet),
CONST arelent *relent AND
- bfd_seclet_type *seclet)
+ CONST bfd_seclet_type *seclet)
{
asymbol *s = *(relent->sym_ptr_ptr);
static asymbol *error_symbol;
@@ -76,7 +77,6 @@ DEFUN(ld_reloc_truncated,(relent, seclet),
void
DEFUN_VOID(init_bfd_error_vector)
{
-bfd_error_vector.undefined_symbol = ld_undefined_symbol;
-bfd_error_vector.reloc_value_truncated = ld_reloc_truncated;
-
+ bfd_error_vector.undefined_symbol = ld_undefined_symbol;
+ bfd_error_vector.reloc_value_truncated = ld_reloc_truncated;
}