aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiubov Dmitrieva <liubov.dmitrieva@gmail.com>2011-10-07 11:52:49 -0400
committerUlrich Drepper <drepper@gmail.com>2011-10-07 11:52:49 -0400
commit42622229a9377dccd832059a4ce1053f4c2c9f3d (patch)
treef79cedf5954c5ecc9c56b9e2dd0cc3b4b7d0be8c
parent66fb11b1da6b56a78c09e8b5802ace4f10189dca (diff)
downloadglibc-42622229a9377dccd832059a4ce1053f4c2c9f3d.zip
glibc-42622229a9377dccd832059a4ce1053f4c2c9f3d.tar.gz
glibc-42622229a9377dccd832059a4ce1053f4c2c9f3d.tar.bz2
delete 4 lines with unused "define" macros in test-memcmp
-rw-r--r--ChangeLog5
-rw-r--r--string/test-memcmp.c4
2 files changed, 5 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index a5b5a53..aa973c2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/string/test-memcmp.c b/string/test-memcmp.c
index c7f1574..4675bd9 100644
--- a/string/test-memcmp.c
+++ b/string/test-memcmp.c
@@ -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