re PR target/85969 (avr/gen-avr-mmcu-specs.c:56: unused function ?)

PR target/85969
	* config/avr/gen-avr-mmcu-specs.c (str_prefix_p): Remove unused
	static function.

From-SVN: r277455
This commit is contained in:
Georg-Johann Lay 2019-10-25 15:13:23 +00:00 committed by Georg-Johann Lay
parent ec0846134e
commit 2cd6630fc0
2 changed files with 6 additions and 8 deletions

View File

@ -1,3 +1,9 @@
2019-10-18 Georg-Johann Lay <avr@gjlay.de>
PR target/85969
* config/avr/gen-avr-mmcu-specs.c (str_prefix_p): Remove unused
static function.
2019-10-25 Cesar Philippidis <cesar@codesourcery.com>
Tobias Burnus <tobias@codesourcery.com>

View File

@ -50,14 +50,6 @@
#define SPECFILE_USAGE_URL \
"https://gcc.gnu.org/gcc-5/changes.html"
/* Return true iff STR starts with PREFIX. */
static bool
str_prefix_p (const char *str, const char *prefix)
{
return strncmp (str, prefix, strlen (prefix)) == 0;
}
static const char header[] =
"#\n"