From 84c80b4c0fbeb4ea3591c6948bd3dff85f52eb02 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz <49391366+julek-wolfssl@users.noreply.github.com> Date: Wed, 18 Sep 2024 01:10:20 +0200 Subject: [PATCH] make mymemmem available for linking --- wolfssl/wolfcrypt/wc_port.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfssl/wolfcrypt/wc_port.h b/wolfssl/wolfcrypt/wc_port.h index 37b88df14..cb36bfe7d 100644 --- a/wolfssl/wolfcrypt/wc_port.h +++ b/wolfssl/wolfcrypt/wc_port.h @@ -1214,7 +1214,7 @@ WOLFSSL_ABI WOLFSSL_API int wolfCrypt_Cleanup(void); #ifndef WOLFSSL_LEANPSK char* mystrnstr(const char* s1, const char* s2, unsigned int n); #endif - void *mymemmem(const void *haystack, size_t haystacklen, + WOLFSSL_API void *mymemmem(const void *haystack, size_t haystacklen, const void *needle, size_t needlelen); #ifndef FILE_BUFFER_SIZE