From 478f104a702d67d7f977382a063a6cebd8ed920b Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 14 Dec 2012 12:27:42 +0200 Subject: [PATCH] core: Remove unused textfile_casedel and textfile_caseput functions --- src/textfile.c | 10 ---------- src/textfile.h | 2 -- 2 files changed, 12 deletions(-) diff --git a/src/textfile.c b/src/textfile.c index 92ad505c3..b28dd91d7 100644 --- a/src/textfile.c +++ b/src/textfile.c @@ -370,21 +370,11 @@ int textfile_put(const char *pathname, const char *key, const char *value) return write_key(pathname, key, value, 0); } -int textfile_caseput(const char *pathname, const char *key, const char *value) -{ - return write_key(pathname, key, value, 1); -} - int textfile_del(const char *pathname, const char *key) { return write_key(pathname, key, NULL, 0); } -int textfile_casedel(const char *pathname, const char *key) -{ - return write_key(pathname, key, NULL, 1); -} - char *textfile_get(const char *pathname, const char *key) { return read_key(pathname, key, 0); diff --git a/src/textfile.h b/src/textfile.h index bcced74dc..7214455e8 100644 --- a/src/textfile.h +++ b/src/textfile.h @@ -29,9 +29,7 @@ int create_name(char *buf, size_t size, const char *path, const char *address, const char *name); int textfile_put(const char *pathname, const char *key, const char *value); -int textfile_caseput(const char *pathname, const char *key, const char *value); int textfile_del(const char *pathname, const char *key); -int textfile_casedel(const char *pathname, const char *key); char *textfile_get(const char *pathname, const char *key); char *textfile_caseget(const char *pathname, const char *key); -- 2.47.3