aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/functiontype.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-15 19:59:14 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-15 19:59:14 -0400
commite5420471a7364a92521575e7abd3a29a9318001b (patch)
tree6b7aaccff3d033fdc49cee41874071637fa8b68e /src/stdlib/functiontype.c
parentc3615dc92c667899af7a11b2b25201dad5502ee6 (diff)
Make some compatibility fixes to make sure the compiler can fully build
using TinyCC
Diffstat (limited to 'src/stdlib/functiontype.c')
-rw-r--r--src/stdlib/functiontype.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stdlib/functiontype.c b/src/stdlib/functiontype.c
index 8c864611..f169057a 100644
--- a/src/stdlib/functiontype.c
+++ b/src/stdlib/functiontype.c
@@ -89,8 +89,9 @@ public Text_t Func$as_text(const void *fn, bool colorize, const TypeInfo_t *type
return text;
}
-public PUREFUNC bool Func$is_none(const void *obj, const TypeInfo_t*)
+public PUREFUNC bool Func$is_none(const void *obj, const TypeInfo_t *info)
{
+ (void)info;
return *(void**)obj == NULL;
}