[binutils-gdb/binutils-2_25-branch] Fix build problem introduced by previous delta to coffgrok.c
Nick Clifton
nickc@sourceware.org
Wed Mar 25 10:40:00 GMT 2015
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a5ebc2c7ddc26fc1473d53ace9a088d2aa584f0f
commit a5ebc2c7ddc26fc1473d53ace9a088d2aa584f0f
Author: Nick Clifton <nickc@redhat.com>
Date: Wed Mar 25 10:39:52 2015 +0000
Fix build problem introduced by previous delta to coffgrok.c
* coffgrok.c: Remove redundant prototypes.
Diff:
---
binutils/ChangeLog | 4 ++++
binutils/coffgrok.c | 16 +---------------
2 files changed, 5 insertions(+), 15 deletions(-)
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 9f3d3b1..5ae64e5 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-25 Nick Clifton <nickc@redhat.com>
+
+ * coffgrok.c: Remove redundant prototypes.
+
2015-03-24 Nick Clifton <nickc@redhat.com>
Apply from master:
diff --git a/binutils/coffgrok.c b/binutils/coffgrok.c
index e2d520e..1317101 100644
--- a/binutils/coffgrok.c
+++ b/binutils/coffgrok.c
@@ -28,7 +28,6 @@
#include "sysdep.h"
#include "bfd.h"
#include "libiberty.h"
-
#include "coff/internal.h"
#include "../bfd/libcoff.h"
#include "bucomm.h"
@@ -54,7 +53,7 @@ static long symcount;
#define N(x) ((x)->_n._n_nptr[1])
static struct coff_ptr_struct *rawsyms;
-static int rawcount;
+static unsigned int rawcount;
static bfd *abfd;
#define PTR_SIZE 4
@@ -66,19 +65,6 @@ static bfd *abfd;
#define INDEXOF(p) ((struct coff_ptr_struct *)(p)-(rawsyms))
-static struct coff_scope *empty_scope (void);
-static struct coff_symbol *empty_symbol (void);
-static void push_scope (int);
-static void pop_scope (void);
-static void do_sections_p1 (struct coff_ofile *);
-static void do_sections_p2 (struct coff_ofile *);
-static struct coff_where *do_where (int);
-static struct coff_line *do_lines (int, char *);
-static struct coff_type *do_type (int);
-static struct coff_visible *do_visible (int);
-static int do_define (int, struct coff_scope *);
-static struct coff_ofile *doit (void);
-
static struct coff_scope *
empty_scope (void)
{
More information about the Binutils-cvs
mailing list