This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Remove unused defines from strxfrm_l.c and strcoll_l.c
- From: Leonhard Holz <leonhard dot holz at web dot de>
- To: libc-alpha at sourceware dot org
- Date: Sun, 08 Feb 2015 10:06:36 +0100
- Subject: [PATCH] Remove unused defines from strxfrm_l.c and strcoll_l.c
- Authentication-results: sourceware.org; auth=none
* string/strxfrm_l.c: Remove #define STRCMP.
* string/strcoll_l.c: Remove #define STRLEN.
diff --git a/string/strxfrm_l.c b/string/strxfrm_l.c
index 921d1f7..8b61ea2 100644
--- a/string/strxfrm_l.c
+++ b/string/strxfrm_l.c
@@ -29,7 +29,6 @@
# define STRING_TYPE char
# define USTRING_TYPE unsigned char
# define STRXFRM __strxfrm_l
-# define STRCMP strcmp
# define STRLEN strlen
# define STPNCPY __stpncpy
# define WEIGHT_H "../locale/weight.h"
diff --git a/string/strcoll_l.c b/string/strcoll_l.c
index 85422bd..658d5b9 100644
--- a/string/strcoll_l.c
+++ b/string/strcoll_l.c
@@ -30,7 +30,6 @@
# define USTRING_TYPE unsigned char
# define STRCOLL __strcoll_l
# define STRCMP strcmp
-# define STRLEN strlen
# define WEIGHT_H "../locale/weight.h"
# define SUFFIX MB
# define L(arg) arg