Blame sysdeps/s390/multiarch/strncmp-c.c
|
Packit Service |
c82647 |
/* Default strncmp implementation for S/390.
|
|
Packit Service |
c82647 |
Copyright (C) 2015-2018 Free Software Foundation, Inc.
|
|
Packit Service |
c82647 |
This file is part of the GNU C Library.
|
|
Packit Service |
c82647 |
|
|
Packit Service |
c82647 |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Service |
c82647 |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
c82647 |
License as published by the Free Software Foundation; either
|
|
Packit Service |
c82647 |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
c82647 |
|
|
Packit Service |
c82647 |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Service |
c82647 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
c82647 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
c82647 |
Lesser General Public License for more details.
|
|
Packit Service |
c82647 |
|
|
Packit Service |
c82647 |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
c82647 |
License along with the GNU C Library; if not, see
|
|
Packit Service |
c82647 |
<http://www.gnu.org/licenses/>. */
|
|
Packit Service |
c82647 |
|
|
Packit Service |
c82647 |
#if defined HAVE_S390_VX_ASM_SUPPORT && IS_IN (libc)
|
|
Packit Service |
c82647 |
# define STRNCMP __strncmp_c
|
|
Packit Service |
c82647 |
# ifdef SHARED
|
|
Packit Service |
c82647 |
# undef libc_hidden_builtin_def
|
|
Packit Service |
c82647 |
# define libc_hidden_builtin_def(name) \
|
|
Packit Service |
c82647 |
__hidden_ver1 (__strncmp_c, __GI_strncmp, __strncmp_c);
|
|
Packit Service |
c82647 |
# endif /* SHARED */
|
|
Packit Service |
c82647 |
|
|
Packit Service |
c82647 |
# include <string/strncmp.c>
|
|
Packit Service |
c82647 |
#endif /* HAVE_S390_VX_ASM_SUPPORT && IS_IN (libc) */
|