dev-embedded/arduino-ctags: Fix modern C build failure

Closes: https://bugs.gentoo.org/883239
Closes: https://bugs.gentoo.org/874969
Signed-off-by: Martin Mokry <martin-kokos@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37006
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Martin Mokry
2024-06-03 20:52:38 +02:00
committed by Sam James
parent a7a550ba59
commit c469982772

View File

@@ -223,3 +223,14 @@ Thanks-to: <s.zharkoff@gmail.com>
{
tagEntryInfo tag;
initTagEntry (&tag, vStringValue (function));
--- a/routines.c
+++ b/routines.c
@@ -526,7 +526,7 @@ static boolean isPathSeparator (const int c)
#if ! defined (HAVE_STAT_ST_INO)
-static void canonicalizePath (char *const path __unused__)
+static void canonicalizePath (char *const path __arduino_unused__)
{
#if defined (MSDOS_STYLE_PATH)
char *p;