summaryrefslogtreecommitdiff
path: root/src/locale/isxdigit_l.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-07-02 21:16:05 -0400
committerRich Felker <dalias@aerifal.cx>2014-07-02 21:16:05 -0400
commitd89fdec51b5849ebdf8000ff1c2fb49878004f39 (patch)
tree3f417d463f914ba78c594ca44d9e9c0fb0f629e4 /src/locale/isxdigit_l.c
parent0bc03091bb674ebb9fa6fe69e4aec1da3ac484f2 (diff)
downloadmusl-d89fdec51b5849ebdf8000ff1c2fb49878004f39.tar.gz
musl-d89fdec51b5849ebdf8000ff1c2fb49878004f39.tar.bz2
musl-d89fdec51b5849ebdf8000ff1c2fb49878004f39.tar.xz
musl-d89fdec51b5849ebdf8000ff1c2fb49878004f39.zip
consolidate *_l ctype/wctype functions into their non-_l source files
the main practical purposes of this commit are to remove a huge amount of clutter from the src/locale directory, to cut down on the length of the $(AR) and $(LD) command lines, and to reduce the amount of space wasted by object file headers in the static libc.a. build time may also be reduced, though this has not been measured. as an additional justification, if there ever were a need for the behavior of these functions to vary by locale, it would be necessary for the non-_l versions to call the _l versions, so that linking the former without the latter would not be possible anyway.
Diffstat (limited to 'src/locale/isxdigit_l.c')
-rw-r--r--src/locale/isxdigit_l.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/locale/isxdigit_l.c b/src/locale/isxdigit_l.c
deleted file mode 100644
index 68649d09..00000000
--- a/src/locale/isxdigit_l.c
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <ctype.h>
-
-int isxdigit_l(int c, locale_t l)
-{
- return isxdigit(c);
-}