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

Packit Service 93dc7a
/* Default wmemset implementation for S/390.
Packit Service 93dc7a
   Copyright (C) 2015-2018 Free Software Foundation, Inc.
Packit Service 93dc7a
   This file is part of the GNU C Library.
Packit Service 93dc7a
Packit Service 93dc7a
   The GNU C Library is free software; you can redistribute it and/or
Packit Service 93dc7a
   modify it under the terms of the GNU Lesser General Public
Packit Service 93dc7a
   License as published by the Free Software Foundation; either
Packit Service 93dc7a
   version 2.1 of the License, or (at your option) any later version.
Packit Service 93dc7a
Packit Service 93dc7a
   The GNU C Library is distributed in the hope that it will be useful,
Packit Service 93dc7a
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 93dc7a
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 93dc7a
   Lesser General Public License for more details.
Packit Service 93dc7a
Packit Service 93dc7a
   You should have received a copy of the GNU Lesser General Public
Packit Service 93dc7a
   License along with the GNU C Library; if not, see
Packit Service 93dc7a
   <http://www.gnu.org/licenses/>.  */
Packit Service 93dc7a
Packit Service 93dc7a
#if defined HAVE_S390_VX_ASM_SUPPORT && IS_IN (libc)
Packit Service 93dc7a
# define WMEMSET  __wmemset_c
Packit Service 93dc7a
Packit Service 93dc7a
# include <wchar.h>
Packit Service 93dc7a
extern __typeof (__wmemset) __wmemset_c;
Packit Service 93dc7a
# undef weak_alias
Packit Service 93dc7a
# define weak_alias(name, alias)
Packit Service 93dc7a
# ifdef SHARED
Packit Service 93dc7a
#  undef libc_hidden_def
Packit Service 93dc7a
#  define libc_hidden_def(name)					\
Packit Service 93dc7a
  __hidden_ver1 (__wmemset_c, __GI___wmemset, __wmemset_c);
Packit Service 93dc7a
#  undef libc_hidden_weak
Packit Service 93dc7a
#  define libc_hidden_weak(name)					\
Packit Service 93dc7a
  strong_alias (__wmemset_c, __wmemset_c_1);				\
Packit Service 93dc7a
  __hidden_ver1 (__wmemset_c_1, __GI_wmemset, __wmemset_c_1);
Packit Service 93dc7a
# endif /* SHARED */
Packit Service 93dc7a
Packit Service 93dc7a
# include <wcsmbs/wmemset.c>
Packit Service 93dc7a
#endif /* HAVE_S390_VX_ASM_SUPPORT && IS_IN (libc) */