mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user