mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 19:54:40 +02:00
Merge pull request #949 from cconlon/string_abstraction
Fix mystrnstr() prototype declaration
This commit is contained in:
@@ -286,11 +286,12 @@
|
|||||||
#define FREE_ARRAY(VAR_NAME, VAR_ITEMS, HEAP) /* nothing to free, its stack */
|
#define FREE_ARRAY(VAR_NAME, VAR_ITEMS, HEAP) /* nothing to free, its stack */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef WOLFSSL_LEANPSK
|
||||||
|
char* mystrnstr(const char* s1, const char* s2, unsigned int n);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef STRING_USER
|
#ifndef STRING_USER
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
char* mystrnstr(const char* s1, const char* s2, unsigned int n);
|
|
||||||
|
|
||||||
#define XMEMCPY(d,s,l) memcpy((d),(s),(l))
|
#define XMEMCPY(d,s,l) memcpy((d),(s),(l))
|
||||||
#define XMEMSET(b,c,l) memset((b),(c),(l))
|
#define XMEMSET(b,c,l) memset((b),(c),(l))
|
||||||
#define XMEMCMP(s1,s2,n) memcmp((s1),(s2),(n))
|
#define XMEMCMP(s1,s2,n) memcmp((s1),(s2),(n))
|
||||||
|
Reference in New Issue
Block a user