Blame sysdeps/s390/multiarch/memrchr-c.c

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