From 9b79181f1508b8a126a48511232205abe456e923 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 24 Dec 2008 13:47:41 +0100 Subject: Remove unused function parent_dirname --- source3/lib/util.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'source3/lib/util.c') diff --git a/source3/lib/util.c b/source3/lib/util.c index 82c4822a86..2c4cd20f31 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -2332,21 +2332,8 @@ const char *shlib_ext(void) /******************************************************************* Given a filename - get its directory name - NB: Returned in static storage. Caveats: - o If caller wishes to preserve, they should copy. ********************************************************************/ -char *parent_dirname(const char *path) -{ - char *parent; - - if (!parent_dirname_talloc(talloc_tos(), path, &parent, NULL)) { - return NULL; - } - - return parent; -} - bool parent_dirname_talloc(TALLOC_CTX *mem_ctx, const char *dir, char **parent, const char **name) { -- cgit