Blame sysdeps/s390/strstr-c.c
|
Packit Bot |
38d9ae |
/* Default strstr implementation for S/390.
|
|
Packit Bot |
38d9ae |
Copyright (C) 2018 Free Software Foundation, Inc.
|
|
Packit Bot |
38d9ae |
This file is part of the GNU C Library.
|
|
Packit Bot |
38d9ae |
|
|
Packit Bot |
38d9ae |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Bot |
38d9ae |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Bot |
38d9ae |
License as published by the Free Software Foundation; either
|
|
Packit Bot |
38d9ae |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Bot |
38d9ae |
|
|
Packit Bot |
38d9ae |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Bot |
38d9ae |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Bot |
38d9ae |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Bot |
38d9ae |
Lesser General Public License for more details.
|
|
Packit Bot |
38d9ae |
|
|
Packit Bot |
38d9ae |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Bot |
38d9ae |
License along with the GNU C Library; if not, see
|
|
Packit Bot |
38d9ae |
<http://www.gnu.org/licenses/>. */
|
|
Packit Bot |
38d9ae |
|
|
Packit Bot |
38d9ae |
#include <ifunc-strstr.h>
|
|
Packit Bot |
38d9ae |
|
|
Packit Bot |
38d9ae |
#if HAVE_STRSTR_C
|
|
Packit Bot |
38d9ae |
# if HAVE_STRSTR_IFUNC
|
|
Packit Bot |
38d9ae |
# define STRSTR STRSTR_C
|
|
Packit Bot |
38d9ae |
# if defined SHARED && IS_IN (libc)
|
|
Packit Bot |
38d9ae |
# undef libc_hidden_builtin_def
|
|
Packit Bot |
38d9ae |
# define libc_hidden_builtin_def(name) \
|
|
Packit Bot |
38d9ae |
__hidden_ver1 (__strstr_c, __GI_strstr, __strstr_c);
|
|
Packit Bot |
38d9ae |
# endif
|
|
Packit Bot |
38d9ae |
# endif
|
|
Packit Bot |
38d9ae |
|
|
Packit Bot |
38d9ae |
# include <string/strstr.c>
|
|
Packit Bot |
38d9ae |
#endif
|