summaryrefslogtreecommitdiff
path: root/string/memmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/memmem.c')
-rw-r--r--string/memmem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/string/memmem.c b/string/memmem.c
index d4083dccc0..43efaa3fb7 100644
--- a/string/memmem.c
+++ b/string/memmem.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -31,6 +31,7 @@
#define RETURN_TYPE void *
#define AVAILABLE(h, h_l, j, n_l) ((j) <= (h_l) - (n_l))
+#define FASTSEARCH(S,C,N) (void*) memchr ((void *)(S), (C), (N))
#include "str-two-way.h"
#undef memmem