[committed] LD: Remove a stale `ldlex_command' prototype

Message ID alpine.DEB.2.00.1802140909580.3553@tp.orcam.me.uk
State New
Headers show
Series
  • [committed] LD: Remove a stale `ldlex_command' prototype
Related show

Commit Message

Maciej W. Rozycki Feb. 14, 2018, 9:17 a.m.
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.
---
Hi,

 Verified across the usual targets and committed as obvious.

  Maciej
---
 ld/ldlex.h |    1 -
 1 file changed, 1 deletion(-)

binutils-ld-ldlex-command.diff

Patch

Index: binutils/ld/ldlex.h
===================================================================
--- binutils.orig/ld/ldlex.h	2018-02-14 00:36:47.000000000 +0000
+++ binutils/ld/ldlex.h	2018-02-14 00:37:25.791723828 +0000
@@ -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);