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 Bot |
16ffed |
#include <ifunc-wcscspn.h>
|
|
Packit Bot |
16ffed |
|
|
Packit Bot |
16ffed |
#if HAVE_WCSCSPN_IFUNC
|
|
Packit Service |
41f5ad |
# include <wchar.h>
|
|
Packit Service |
41f5ad |
# include <ifunc-resolve.h>
|
|
Packit Service |
41f5ad |
|
|
Packit Bot |
16ffed |
# if HAVE_WCSCSPN_C
|
|
Packit Bot |
16ffed |
extern __typeof (wcscspn) WCSCSPN_C attribute_hidden;
|
|
Packit Bot |
16ffed |
# endif
|
|
Packit Bot |
16ffed |
|
|
Packit Bot |
16ffed |
# if HAVE_WCSCSPN_Z13
|
|
Packit Bot |
16ffed |
extern __typeof (wcscspn) WCSCSPN_Z13 attribute_hidden;
|
|
Packit Bot |
16ffed |
# endif
|
|
Packit Service |
41f5ad |
|
|
Packit Bot |
16ffed |
s390_libc_ifunc_expr (wcscspn, wcscspn,
|
|
Packit Bot |
16ffed |
(HAVE_WCSCSPN_Z13 && (hwcap & HWCAP_S390_VX))
|
|
Packit Bot |
16ffed |
? WCSCSPN_Z13
|
|
Packit Bot |
16ffed |
: WCSCSPN_DEFAULT
|
|
Packit Bot |
16ffed |
)
|
|
Packit Bot |
16ffed |
#endif
|