summaryrefslogtreecommitdiffstats
path: root/src/pacman/util.h
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2007-11-25 23:13:30 +0100
committerDan McGee <dan@archlinux.org>2007-11-25 23:13:30 +0100
commit11133da587ebc1c78478cfcd05d5e8298bd61b84 (patch)
treee97f332ff9fa5ed765149693eec6db6917254278 /src/pacman/util.h
parent7d37d9278d0ab6eb46ec4689c8091780382cbb95 (diff)
downloadpacman-11133da587ebc1c78478cfcd05d5e8298bd61b84.tar.gz
pacman-11133da587ebc1c78478cfcd05d5e8298bd61b84.tar.xz
Move mbasename from pacman.c to util.c
This function can be useful in other places. Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/util.h')
-rw-r--r--src/pacman/util.h1
1 files changed, 1 insertions, 0 deletions
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);