Skip to content

Commit

Permalink
dev-embedded/arduino-ctags: Fix modern C build failure
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/883239
Closes: https://bugs.gentoo.org/874969
Signed-off-by: Martin Mokry <[email protected]>
Closes: gentoo#37006
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
martin-kokos authored and thesamesam committed Jun 14, 2024
1 parent a7a550b commit c469982
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,3 +223,14 @@ Thanks-to: <[email protected]>
{
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;

0 comments on commit c469982

Please sign in to comment.