[binutils-gdb] LD: Remove a stale `ldlex_command' prototype

Maciej W.Rozycki macro@sourceware.org
Wed Feb 14 09:17:00 GMT 2018


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d4dd94f863014a0d2daf42d94f393d294e9baa7e

commit d4dd94f863014a0d2daf42d94f393d294e9baa7e
Author: Maciej W. Rozycki <macro@mips.com>
Date:   Wed Feb 14 01:13:31 2018 -0800

    LD: Remove a stale `ldlex_command' prototype
    
    Complement commit d4e5e3c330d5 ("Use getopt instead of lex and yacc to
    parse the command line.") and remove a stale `ldlex_command' prototype
    for an inexistent function removed back in 1994.
    
    	ld/
    	* ldlex.h (ldlex_command): Remove prototype.

Diff:
---
 ld/ChangeLog | 4 ++++
 ld/ldlex.h   | 1 -
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index 01c90ef..42ddf8b 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2018-02-14  Maciej W. Rozycki  <macro@mips.com>
+
+	* ldlex.h (ldlex_command): Remove prototype.
+
 2018-02-13  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* testsuite/ld-x86-64/x86-64.exp: Replace pr22393-2a.so and
diff --git a/ld/ldlex.h b/ld/ldlex.h
index 140ed1d..1ecb152 100644
--- a/ld/ldlex.h
+++ b/ld/ldlex.h
@@ -176,7 +176,6 @@ extern void ldlex_version_file (void);
 extern void ldlex_defsym (void);
 extern void ldlex_expression (void);
 extern void ldlex_both (void);
-extern void ldlex_command (void);
 extern void ldlex_popstate (void);
 extern const char* ldlex_filename (void);



More information about the Binutils-cvs mailing list