summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonhard Holz <leonhard.holz@web.de>2015-02-11 12:49:58 +0100
committerOndřej Bílka <neleai@seznam.cz>2015-02-11 12:50:53 +0100
commitd35273f2746d234c81ca0e9307db9cd30eb6baaa (patch)
treee1b71d5055ec528a21424705bc05f74c543b2fe6
parent306bc0d1ed23ef3e38be2b371a197d669ae22334 (diff)
downloadglibc-d35273f2746d234c81ca0e9307db9cd30eb6baaa.tar.gz
Remove unused definitions
-rw-r--r--ChangeLog7
-rw-r--r--string/strcoll_l.c1
-rw-r--r--string/strxfrm_l.c1
-rw-r--r--wcsmbs/wcscoll_l.c1
-rw-r--r--wcsmbs/wcsxfrm_l.c1
5 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index b8d560f677..fd890c5690 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-02-11 Leonhard Holz <leonhard.holz@web.de>
+
+ * string/strxfrm_l.c: Remove #define STRCMP.
+ * string/strcoll_l.c: Remove #define STRLEN.
+ * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
+ * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
+
2015-02-10 Joseph Myers <joseph@codesourcery.com>
* sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
diff --git a/string/strcoll_l.c b/string/strcoll_l.c
index 85422bdd87..658d5b9b90 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
diff --git a/string/strxfrm_l.c b/string/strxfrm_l.c
index 921d1f76c4..8b61ea2b20 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/wcsmbs/wcscoll_l.c b/wcsmbs/wcscoll_l.c
index 86ae4d992f..106ec93511 100644
--- a/wcsmbs/wcscoll_l.c
+++ b/wcsmbs/wcscoll_l.c
@@ -24,7 +24,6 @@
#define USTRING_TYPE wint_t
#define STRCOLL __wcscoll_l
#define STRCMP wcscmp
-#define STRLEN __wcslen
#define WEIGHT_H "../locale/weightwc.h"
#define SUFFIX WC
#define L(arg) L##arg
diff --git a/wcsmbs/wcsxfrm_l.c b/wcsmbs/wcsxfrm_l.c
index 7d9083b19c..53ac951b3c 100644
--- a/wcsmbs/wcsxfrm_l.c
+++ b/wcsmbs/wcsxfrm_l.c
@@ -22,7 +22,6 @@
#define STRING_TYPE wchar_t
#define USTRING_TYPE wint_t
#define STRXFRM __wcsxfrm_l
-#define STRCMP wcscmp
#define STRLEN __wcslen
#define STPNCPY __wcpncpy
#define WEIGHT_H "../locale/weightwc.h"