aboutsummaryrefslogtreecommitdiff
path: root/benchtests/bench-strcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'benchtests/bench-strcpy.c')
-rw-r--r--benchtests/bench-strcpy.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/benchtests/bench-strcpy.c b/benchtests/bench-strcpy.c
index c0435a895c..e5fd27ffba 100644
--- a/benchtests/bench-strcpy.c
+++ b/benchtests/bench-strcpy.c
@@ -16,25 +16,14 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#define BIG_CHAR MAX_CHAR
+
#ifdef WIDE
-# include <wchar.h>
-# define CHAR wchar_t
-# define UCHAR wchar_t
# define sfmt "ls"
-# define BIG_CHAR WCHAR_MAX
# define SMALL_CHAR 1273
-# define STRCMP wcscmp
-# define MEMCMP wmemcmp
-# define MEMSET wmemset
#else
-# define CHAR char
-# define UCHAR unsigned char
# define sfmt "s"
-# define BIG_CHAR CHAR_MAX
# define SMALL_CHAR 127
-# define STRCMP strcmp
-# define MEMCMP memcmp
-# define MEMSET memset
#endif
#ifndef STRCPY_RESULT
@@ -48,10 +37,8 @@
# include "bench-string.h"
# ifndef WIDE
# define SIMPLE_STRCPY simple_strcpy
-# define STRCPY strcpy
# else
# define SIMPLE_STRCPY simple_wcscpy
-# define STRCPY wcscpy
# endif
CHAR *SIMPLE_STRCPY (CHAR *, const CHAR *);