diff options
author | Chantry Xavier <shiningxc@gmail.com> | 2007-11-25 16:13:30 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-11-25 16:13:30 -0600 |
commit | 11133da587ebc1c78478cfcd05d5e8298bd61b84 (patch) | |
tree | e97f332ff9fa5ed765149693eec6db6917254278 /src/pacman/util.h | |
parent | 7d37d9278d0ab6eb46ec4689c8091780382cbb95 (diff) |
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.h | 1 |
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); |