Blame sysdeps/s390/wcschr-c.c

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