From 6dada324a8087b8c7ff969a59ec94b2443891794 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 19 Dec 2012 10:33:38 +0200 Subject: [PATCH] core: Remove unused textfile_caseget function --- src/textfile.c | 5 ----- src/textfile.h | 1 - 2 files changed, 6 deletions(-) diff --git a/src/textfile.c b/src/textfile.c index b28dd91d7..9cb6bf26a 100644 --- a/src/textfile.c +++ b/src/textfile.c @@ -380,11 +380,6 @@ char *textfile_get(const char *pathname, const char *key) return read_key(pathname, key, 0); } -char *textfile_caseget(const char *pathname, const char *key) -{ - return read_key(pathname, key, 1); -} - int textfile_foreach(const char *pathname, textfile_cb func, void *data) { struct stat st; diff --git a/src/textfile.h b/src/textfile.h index 7214455e8..b779bd232 100644 --- a/src/textfile.h +++ b/src/textfile.h @@ -31,7 +31,6 @@ int create_name(char *buf, size_t size, const char *path, int textfile_put(const char *pathname, const char *key, const char *value); int textfile_del(const char *pathname, const char *key); char *textfile_get(const char *pathname, const char *key); -char *textfile_caseget(const char *pathname, const char *key); typedef void (*textfile_cb) (char *key, char *value, void *data); -- 2.47.3