diff options
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h index 8f0c4b543..3f541ffa6 100644 --- a/src/util.h +++ b/src/util.h @@ -31,6 +31,9 @@ extern int git__fmt(char *, size_t, const char *, ...) extern int git__prefixcmp(const char *str, const char *prefix); extern int git__suffixcmp(const char *str, const char *suffix); +extern int git__dirname(char *dir, size_t n, char *path); +extern int git__basename(char *base, size_t n, char *path); + /** @return true if p fits into the range of a size_t */ GIT_INLINE(int) git__is_sizet(off_t p) { |
