summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/memmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/memmem.c')
-rw-r--r--lib/libc/string/memmem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/string/memmem.c b/lib/libc/string/memmem.c
index 5793a7dfd75..823443b08a6 100644
--- a/lib/libc/string/memmem.c
+++ b/lib/libc/string/memmem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: memmem.c,v 1.3 2013/05/30 01:10:45 ajacoutot Exp $ */
+/* $OpenBSD: memmem.c,v 1.4 2015/08/31 02:53:57 guenther Exp $ */
/*-
* Copyright (c) 2005 Pascal Gloor <pascal.gloor@spale.com>
*
@@ -61,3 +61,4 @@ memmem(const void *l, size_t l_len, const void *s, size_t s_len)
return NULL;
}
+DEF_WEAK(memmem);