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