commit 64af7ad2fcf1de3591aba277295fe5c4fc3b7245
parent 51ec92fcdedd1ad00e25b27f6419980eb626e482
Author: Mario Rosell R. Martinez <mario@mariorosell.es>
Date: Wed, 8 Apr 2026 20:53:18 +0200
fix: made anntp__NC__strdup static
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/anntp.h b/anntp.h
@@ -101,7 +101,7 @@
# define ANNTP_STRDUP strdup
# else
# define ANNTP_STRDUP anntp__NC__strdup
-char*
+static char*
anntp__NC__strdup(const char* s) {
size_t len = strlen(s) + 1;
char* p = (char*)malloc(len);