|
Packit Service |
c92dfa |
/* Default wcschr implementation for S/390.
|
|
Packit Service |
c92dfa |
Copyright (C) 2015-2018 Free Software Foundation, Inc.
|
|
Packit Service |
c92dfa |
This file is part of the GNU C Library.
|
|
Packit Service |
c92dfa |
|
|
Packit Service |
c92dfa |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Service |
c92dfa |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
c92dfa |
License as published by the Free Software Foundation; either
|
|
Packit Service |
c92dfa |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
c92dfa |
|
|
Packit Service |
c92dfa |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Service |
c92dfa |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
c92dfa |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
c92dfa |
Lesser General Public License for more details.
|
|
Packit Service |
c92dfa |
|
|
Packit Service |
c92dfa |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
c92dfa |
License along with the GNU C Library; if not, see
|
|
Packit Service |
c92dfa |
<http://www.gnu.org/licenses/>. */
|
|
Packit Service |
c92dfa |
|
|
Packit Service |
c92dfa |
#include <ifunc-wcschr.h>
|
|
Packit Service |
c92dfa |
|
|
Packit Service |
c92dfa |
#if HAVE_WCSCHR_C
|
|
Packit Service |
c92dfa |
# if HAVE_WCSCHR_IFUNC || HAVE_WCSCHR_Z13
|
|
Packit Service |
c92dfa |
# define WCSCHR WCSCHR_C
|
|
Packit Service |
c92dfa |
|
|
Packit Service |
c92dfa |
# undef weak_alias
|
|
Packit Service |
c92dfa |
# define weak_alias(name, alias)
|
|
Packit Service |
c92dfa |
|
|
Packit Service |
c92dfa |
# if defined SHARED && IS_IN (libc)
|
|
Packit Service |
c92dfa |
# undef libc_hidden_weak
|
|
Packit Service |
c92dfa |
# define libc_hidden_weak(name)
|
|
Packit Service |
c92dfa |
# undef libc_hidden_def
|
|
Packit Service |
c92dfa |
# if ! defined HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT
|
|
Packit Service |
c92dfa |
# define libc_hidden_def(name) \
|
|
Packit Service |
c92dfa |
__hidden_ver1 (__wcschr_c, __GI_wcschr, __wcschr_c) __attribute__((weak)); \
|
|
Packit Service |
c92dfa |
strong_alias (__wcschr_c, __wcschr_c_1); \
|
|
Packit Service |
c92dfa |
__hidden_ver1 (__wcschr_c_1, __GI___wcschr, __wcschr_c_1);
|
|
Packit Service |
c92dfa |
# else
|
|
Packit Service |
c92dfa |
# define libc_hidden_def(name)
|
|
Packit Service |
c92dfa |
# endif
|
|
Packit Service |
c92dfa |
# endif
|
|
Packit Service |
c92dfa |
# endif
|
|
Packit Service |
c92dfa |
|
|
Packit Service |
c92dfa |
# include <wcsmbs/wcschr.c>
|
|
Packit Service |
c92dfa |
#endif
|