summaryrefslogtreecommitdiff
path: root/mysys/my_memmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_memmem.c')
-rw-r--r--mysys/my_memmem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysys/my_memmem.c b/mysys/my_memmem.c
index 9230337409d..c000f14bc66 100644
--- a/mysys/my_memmem.c
+++ b/mysys/my_memmem.c
@@ -22,8 +22,9 @@
Returns a pointer to the beginning of the substring, needle, or NULL if the
substring is not found in haystack.
*/
+
void *my_memmem(const void *haystack, size_t haystacklen,
- const void *needle, size_t needlelen)
+ const void *needle, size_t needlelen)
{
const unsigned char *cursor;
const unsigned char *last_possible_needle_location =