From 11133da587ebc1c78478cfcd05d5e8298bd61b84 Mon Sep 17 00:00:00 2001 From: Chantry Xavier Date: Sun, 25 Nov 2007 16:13:30 -0600 Subject: Move mbasename from pacman.c to util.c This function can be useful in other places. Signed-off-by: Chantry Xavier 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 931b456b..e46555e0 100644 --- a/src/pacman/util.h +++ b/src/pacman/util.h @@ -42,6 +42,7 @@ int needs_transaction(); int getcols(); int makepath(const char *path); int rmrf(const char *path); +char *mbasename(const char *path); void indentprint(const char *str, int indent); char *strtoupper(char *str); char *strtrim(char *str); -- cgit v1.2.3-70-g09d2