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