From 7a73ca2230a94e7251f9784acb6f5d44b85a899e Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sat, 6 Dec 2025 21:26:27 -0500 Subject: [PATCH] FixRed lua -- rb->strtol for native targets missed this reference Change-Id: If8d747399223e5cd33d044a274e6d1d81745ed1c --- apps/plugins/lua/rockaux.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/plugins/lua/rockaux.c b/apps/plugins/lua/rockaux.c index c9066e5610..6937b164d7 100644 --- a/apps/plugins/lua/rockaux.c +++ b/apps/plugins/lua/rockaux.c @@ -26,7 +26,6 @@ #include "lua.h" #include "lib/pluginlib_actions.h" -extern long strtol(const char *nptr, char **endptr, int base); extern const char *strpbrk_n(const char *s, int smax, const char *accept); #if (CONFIG_PLATFORM & PLATFORM_NATIVE) @@ -291,7 +290,7 @@ get_digits: if(count) { buffer[count] = '\0'; - val = strtol(buffer, NULL, 10); + val = rb->strtol(buffer, NULL, 10); *num = (neg)? -val:val; retn = 1; }