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 Service |
f0c5a0 |
#include <ifunc-wcsncat.h>
|
|
Packit Service |
f0c5a0 |
|
|
Packit Service |
f0c5a0 |
#if HAVE_WCSNCAT_IFUNC
|
|
Packit Service |
c109d2 |
# include <wchar.h>
|
|
Packit Service |
c109d2 |
# include <ifunc-resolve.h>
|
|
Packit Service |
c109d2 |
|
|
Packit Service |
f0c5a0 |
# if HAVE_WCSNCAT_C
|
|
Packit Service |
f0c5a0 |
extern __typeof (wcsncat) WCSNCAT_C attribute_hidden;
|
|
Packit Service |
f0c5a0 |
# endif
|
|
Packit Service |
f0c5a0 |
|
|
Packit Service |
f0c5a0 |
# if HAVE_WCSNCAT_Z13
|
|
Packit Service |
f0c5a0 |
extern __typeof (wcsncat) WCSNCAT_Z13 attribute_hidden;
|
|
Packit Service |
f0c5a0 |
# endif
|
|
Packit Service |
c109d2 |
|
|
Packit Service |
f0c5a0 |
s390_libc_ifunc_expr (wcsncat, wcsncat,
|
|
Packit Service |
f0c5a0 |
(HAVE_WCSNCAT_Z13 && (hwcap & HWCAP_S390_VX))
|
|
Packit Service |
f0c5a0 |
? WCSNCAT_Z13
|
|
Packit Service |
f0c5a0 |
: WCSNCAT_DEFAULT
|
|
Packit Service |
f0c5a0 |
)
|
|
Packit Service |
f0c5a0 |
#endif
|