summaryrefslogtreecommitdiff
path: root/lib/strstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/strstr.c')
-rw-r--r--lib/strstr.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/strstr.c b/lib/strstr.c
index de31bec..b64e04f 100644
--- a/lib/strstr.c
+++ b/lib/strstr.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-1994, 1996-1998, 2000, 2004, 2007-2016 Free Software
+/* Copyright (C) 1991-1994, 1996-1998, 2000, 2004, 2007-2017 Free Software
Foundation, Inc.
This file is part of the GNU C Library.
@@ -22,7 +22,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
- with this program; if not, see <http://www.gnu.org/licenses/>. */
+ with this program; if not, see <https://www.gnu.org/licenses/>. */
/* This particular implementation was written by Eric Blake, 2008. */
@@ -35,10 +35,6 @@
#include <stdbool.h>
-#ifndef _LIBC
-# define __builtin_expect(expr, val) (expr)
-#endif
-
#define RETURN_TYPE char *
#define AVAILABLE(h, h_l, j, n_l) \
(!memchr ((h) + (h_l), '\0', (j) + (n_l) - (h_l)) \