Blame sysdeps/s390/multiarch/wcschr-c.c

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