summaryrefslogtreecommitdiff
path: root/libc/string/test-strnlen-ifunc.c
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2012-10-25 17:18:12 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2012-10-25 17:18:12 +0000
commitd9732ccbecc3dd820e2f6496e792f5e839208312 (patch)
treeb8f21a4f63875068370dbc498c5e7919a7a6ca3e /libc/string/test-strnlen-ifunc.c
parent12348b1583437f6382553bde4a32c2615216fec6 (diff)
downloadeglibc2-d9732ccbecc3dd820e2f6496e792f5e839208312.tar.gz
Merge changes between r21108 and r21352 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@21353 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/string/test-strnlen-ifunc.c')
-rw-r--r--libc/string/test-strnlen-ifunc.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/libc/string/test-strnlen-ifunc.c b/libc/string/test-strnlen-ifunc.c
new file mode 100644
index 000000000..3810de7d3
--- /dev/null
+++ b/libc/string/test-strnlen-ifunc.c
@@ -0,0 +1,20 @@
+/* Test and measure IFUNC implementations of strnlen function.
+ Copyright (C) 2012 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
+ <http://www.gnu.org/licenses/>. */
+
+#define TEST_IFUNC 1
+#include "test-strnlen.c"