delete 4 lines with unused "define" macros in test-memcmp

This commit is contained in:
Liubov Dmitrieva 2011-10-07 11:52:49 -04:00 committed by Ulrich Drepper
parent 66fb11b1da
commit 42622229a9
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2011-10-07 Ulrich Drepper <drepper@gmail.com>
* string/test-memcmp.c: Avoid unncessary #defines.
Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
* sysdeps/x86_64/multiarch/rawmemchr.S: Update.

View File

@ -25,21 +25,17 @@
# include <inttypes.h>
# include <wchar.h>
# define L(str) L##str
# define MEMCMP wmemcmp
# define MEMCPY wmemcpy
# define SIMPLE_MEMCMP simple_wmemcmp
# define STUPID_MEMCMP stupid_wmemcmp
# define CHAR wchar_t
# define MAX_CHAR 256000
# define UCHAR uint32_t
# define CHARBYTES 4
#else
# define L(str) str
# define MEMCMP memcmp
# define MEMCPY memcpy
# define SIMPLE_MEMCMP simple_memcmp
# define STUPID_MEMCMP stupid_memcmp
# define CHAR char
# define MAX_CHAR 255
# define UCHAR unsigned char