Blame sysdeps/s390/multiarch/wcsspn.c

Packit Service 1f32a9
/* Multiple versions of wcsspn.
Packit Service 1f32a9
   Copyright (C) 2015-2018 Free Software Foundation, Inc.
Packit Service 1f32a9
   This file is part of the GNU C Library.
Packit Service 1f32a9
Packit Service 1f32a9
   The GNU C Library is free software; you can redistribute it and/or
Packit Service 1f32a9
   modify it under the terms of the GNU Lesser General Public
Packit Service 1f32a9
   License as published by the Free Software Foundation; either
Packit Service 1f32a9
   version 2.1 of the License, or (at your option) any later version.
Packit Service 1f32a9
Packit Service 1f32a9
   The GNU C Library is distributed in the hope that it will be useful,
Packit Service 1f32a9
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 1f32a9
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 1f32a9
   Lesser General Public License for more details.
Packit Service 1f32a9
Packit Service 1f32a9
   You should have received a copy of the GNU Lesser General Public
Packit Service 1f32a9
   License along with the GNU C Library; if not, see
Packit Service 1f32a9
   <http://www.gnu.org/licenses/>.  */
Packit Service 1f32a9
Packit Service 1f32a9
#if defined HAVE_S390_VX_ASM_SUPPORT && IS_IN (libc)
Packit Service 1f32a9
# define wcsspn __redirect_wcsspn
Packit Service 1f32a9
# include <wchar.h>
Packit Service 1f32a9
# undef wcsspn
Packit Service 1f32a9
# include <ifunc-resolve.h>
Packit Service 1f32a9
Packit Service 1f32a9
s390_vx_libc_ifunc2_redirected (__redirect_wcsspn, __wcsspn, wcsspn)
Packit Service 1f32a9
Packit Service 1f32a9
#else
Packit Service 1f32a9
# include <wcsmbs/wcsspn.c>
Packit Service 1f32a9
#endif /* !(defined HAVE_S390_VX_ASM_SUPPORT && IS_IN (libc)) */