Blame sysdeps/s390/wcsncat.c

Packit Service c109d2
/* Multiple versions of wcsncat.
Packit Service c109d2
   Copyright (C) 2015-2018 Free Software Foundation, Inc.
Packit Service c109d2
   This file is part of the GNU C Library.
Packit Service c109d2
Packit Service c109d2
   The GNU C Library is free software; you can redistribute it and/or
Packit Service c109d2
   modify it under the terms of the GNU Lesser General Public
Packit Service c109d2
   License as published by the Free Software Foundation; either
Packit Service c109d2
   version 2.1 of the License, or (at your option) any later version.
Packit Service c109d2
Packit Service c109d2
   The GNU C Library is distributed in the hope that it will be useful,
Packit Service c109d2
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service c109d2
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service c109d2
   Lesser General Public License for more details.
Packit Service c109d2
Packit Service c109d2
   You should have received a copy of the GNU Lesser General Public
Packit Service c109d2
   License along with the GNU C Library; if not, see
Packit Service c109d2
   <http://www.gnu.org/licenses/>.  */
Packit Service c109d2
Packit Bot 09d72c
#include <ifunc-wcsncat.h>
Packit Bot 09d72c
Packit Bot 09d72c
#if HAVE_WCSNCAT_IFUNC
Packit Service c109d2
# include <wchar.h>
Packit Service c109d2
# include <ifunc-resolve.h>
Packit Service c109d2
Packit Bot 09d72c
# if HAVE_WCSNCAT_C
Packit Bot 09d72c
extern __typeof (wcsncat) WCSNCAT_C attribute_hidden;
Packit Bot 09d72c
# endif
Packit Bot 09d72c
Packit Bot 09d72c
# if HAVE_WCSNCAT_Z13
Packit Bot 09d72c
extern __typeof (wcsncat) WCSNCAT_Z13 attribute_hidden;
Packit Bot 09d72c
# endif
Packit Service c109d2
Packit Bot 09d72c
s390_libc_ifunc_expr (wcsncat, wcsncat,
Packit Bot 09d72c
		      (HAVE_WCSNCAT_Z13 && (hwcap & HWCAP_S390_VX))
Packit Bot 09d72c
		      ? WCSNCAT_Z13
Packit Bot 09d72c
		      : WCSNCAT_DEFAULT
Packit Bot 09d72c
		      )
Packit Bot 09d72c
#endif