aboutsummaryrefslogtreecommitdiff
path: root/string/memcmpeq.c
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2021-10-26 19:42:59 -0500
committerNoah Goldstein <goldstein.w.n@gmail.com>2021-10-27 13:03:46 -0500
commit3592ccd472a47ec8be977b0ff33f841f4c175caf (patch)
tree4d9205d87ff4c2cd400d2e19dddccc5bb192a393 /string/memcmpeq.c
parent11c88336e3013653d473fd58d8658d0cd30887e3 (diff)
downloadglibc-3592ccd472a47ec8be977b0ff33f841f4c175caf.zip
glibc-3592ccd472a47ec8be977b0ff33f841f4c175caf.tar.gz
glibc-3592ccd472a47ec8be977b0ff33f841f4c175caf.tar.bz2
String: Add __memcmpeq as build target
No bug. This commit just adds __memcmpeq as a build target so that implementations for __memcmpeq that are not just aliases to memcmp can be supported.
Diffstat (limited to 'string/memcmpeq.c')
-rw-r--r--string/memcmpeq.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/string/memcmpeq.c b/string/memcmpeq.c
new file mode 100644
index 0000000..0872632
--- /dev/null
+++ b/string/memcmpeq.c
@@ -0,0 +1,24 @@
+/* Copyright (C) 1991-2021 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+/* This file is intentionally left empty. It exists so that both
+ architectures which implement __memcmpeq seperately from memcmp and
+ architectures which implement __memcmpeq by having it alias memcmp will
+ build.
+
+ The alias for __memcmpeq to memcmp for the C implementation is in
+ memcmp.c. */