From 312086ed39916ed4aa48e1fc3298961601038396 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 25 Jun 2008 20:54:07 +0200 Subject: [PATCH] Move chartype functions to lib/char-*.c. The names str_*.c were very misleading. --- lib/Makefile | 2 +- lib/{str_ctype.c => char-cat.c} | 2 +- lib/{str_lower.c => char-lower.c} | 2 +- lib/{charmap.h => char-map.h} | 0 lib/{str_upper.c => char-upper.c} | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename lib/{str_ctype.c => char-cat.c} (92%) rename lib/{str_lower.c => char-lower.c} (92%) rename lib/{charmap.h => char-map.h} (100%) rename lib/{str_upper.c => char-upper.c} (92%) diff --git a/lib/Makefile b/lib/Makefile index 13999541..c1090baf 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -19,7 +19,7 @@ LIBUCW_MODS= \ profile \ fastbuf ff-binary ff-string ff-printf ff-unicode \ fb-file carefulio fb-mem fb-temp fb-mmap fb-limfd fb-buffer fb-grow fb-pool fb-atomic fb-param fb-socket \ - str_ctype str_upper str_lower unicode stkstring \ + char-cat char-upper char-lower unicode stkstring \ wildmatch ctmatch regex \ prime primetable random timer randomkey \ bit-ffs bit-fls \ diff --git a/lib/str_ctype.c b/lib/char-cat.c similarity index 92% rename from lib/str_ctype.c rename to lib/char-cat.c index 2857d8e4..1b8e223b 100644 --- a/lib/str_ctype.c +++ b/lib/char-cat.c @@ -11,6 +11,6 @@ const unsigned char _c_cat[256] = { #define CHAR(code,upper,lower,cat) cat, -#include "lib/charmap.h" +#include "lib/char-map.h" #undef CHAR }; diff --git a/lib/str_lower.c b/lib/char-lower.c similarity index 92% rename from lib/str_lower.c rename to lib/char-lower.c index f548a116..05921072 100644 --- a/lib/str_lower.c +++ b/lib/char-lower.c @@ -11,6 +11,6 @@ const unsigned char _c_lower[256] = { #define CHAR(code,upper,lower,cat) lower, -#include "lib/charmap.h" +#include "lib/char-map.h" #undef CHAR }; diff --git a/lib/charmap.h b/lib/char-map.h similarity index 100% rename from lib/charmap.h rename to lib/char-map.h diff --git a/lib/str_upper.c b/lib/char-upper.c similarity index 92% rename from lib/str_upper.c rename to lib/char-upper.c index e527956e..3b164d29 100644 --- a/lib/str_upper.c +++ b/lib/char-upper.c @@ -11,6 +11,6 @@ const unsigned char _c_upper[256] = { #define CHAR(code,upper,lower,cat) upper, -#include "lib/charmap.h" +#include "lib/char-map.h" #undef CHAR }; -- 2.39.2