re PR target/85969 (avr/gen-avr-mmcu-specs.c:56: unused function ?)
authorGeorg-Johann Lay <avr@gjlay.de>
Fri, 25 Oct 2019 15:13:23 +0000 (15:13 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Fri, 25 Oct 2019 15:13:23 +0000 (15:13 +0000)
PR target/85969
* config/avr/gen-avr-mmcu-specs.c (str_prefix_p): Remove unused
static function.

From-SVN: r277455

gcc/ChangeLog
gcc/config/avr/gen-avr-mmcu-specs.c

index 1da576b5468fe71f74e818d77524ef714f5de154..555cf54bbae2cb6af949dba67a6b037e6a60f0e7 100644 (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>
 
index de861f405832da32667f8ea83b97de0ca9557903..b0a3870c4574a50ceaeab043558809bb61cb14a2 100644 (file)
 #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"