aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@mips.com>2018-02-14 01:13:31 -0800
committerMaciej W. Rozycki <macro@mips.com>2018-02-14 09:15:43 +0000
commitd4dd94f863014a0d2daf42d94f393d294e9baa7e (patch)
tree4b0e156585c86107e5b857f8a254052c658154dc
parent85f2093ddc13e96585e9a44ee03b52f848ffbf75 (diff)
downloadgdb-d4dd94f863014a0d2daf42d94f393d294e9baa7e.zip
gdb-d4dd94f863014a0d2daf42d94f393d294e9baa7e.tar.gz
gdb-d4dd94f863014a0d2daf42d94f393d294e9baa7e.tar.bz2
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.
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ldlex.h1
2 files changed, 4 insertions, 1 deletions
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);