From 7d7a33791211b26d69bcf3c23174250dd14e9486 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 5 Feb 2008 18:49:13 -0600 Subject: pacman/util.c: add mdirname function This function mirrors mbasename and will be used by the 'owns' machinery. Signed-off-by: Dan McGee --- src/pacman/util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/pacman/util.h') diff --git a/src/pacman/util.h b/src/pacman/util.h index 00c88949..0273512e 100644 --- a/src/pacman/util.h +++ b/src/pacman/util.h @@ -41,6 +41,7 @@ int getcols(); int makepath(const char *path); int rmrf(const char *path); char *mbasename(const char *path); +char *mdirname(const char *path); void indentprint(const char *str, int indent); char *strtoupper(char *str); char *strtrim(char *str); -- cgit v1.2.3