summaryrefslogtreecommitdiff
path: root/gcc/config/avr
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2019-10-25 15:13:23 +0000
committerGeorg-Johann Lay <gjl@gcc.gnu.org>2019-10-25 15:13:23 +0000
commit2cd6630fc0218580f29e87ea418d9e435d062412 (patch)
tree5f5f51edabb987e0a3b07340ae59c8faba2ee266 /gcc/config/avr
parentec0846134e08ed5f645db858385b385227ae5026 (diff)
downloadgcc-2cd6630fc0218580f29e87ea418d9e435d062412.tar.gz
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
Diffstat (limited to 'gcc/config/avr')
-rw-r--r--gcc/config/avr/gen-avr-mmcu-specs.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/config/avr/gen-avr-mmcu-specs.c b/gcc/config/avr/gen-avr-mmcu-specs.c
index de861f40583..b0a3870c457 100644
--- a/gcc/config/avr/gen-avr-mmcu-specs.c
+++ b/gcc/config/avr/gen-avr-mmcu-specs.c
@@ -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"