PATCH: Small improvement: can delete 4 lines with unused "define" macros
Dmitrieva Liubov
liubov.dmitrieva@gmail.com
Mon Sep 12 17:14:00 GMT 2011
Hello,
We can delete unused "define" macros from test-memcmp.c file.
--
Liubov Dmitrieva
Intel Corporation
Patch:
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
More information about the Libc-alpha
mailing list