From 349f9da850fe46853663bff4ca199045a4678837 Mon Sep 17 00:00:00 2001 From: Nicolas Hillegeer Date: Mon, 28 Apr 2014 18:56:40 +0200 Subject: [PATCH] path: add 'garray.h' to headers The function prototypes use garray_T* arguments, but the header is not included in path.h. Technically we could also get away with a forward declaration since we're just using the pointer, but I don't see the urgent need for that. --- src/path.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/path.h b/src/path.h index 1621157023..351c0a3962 100644 --- a/src/path.h +++ b/src/path.h @@ -3,6 +3,7 @@ #include "func_attr.h" #include "types.h" +#include "garray.h" /// Return value for the comparison of two files. Also @see path_full_compare. typedef enum file_comparison { @@ -23,7 +24,7 @@ typedef enum file_comparison { FileComparison path_full_compare(char_u *s1, char_u *s2, int checkname); /// Get the tail of a path: the file name. -/// +/// /// @param fname A file path. /// @return /// - Empty string, if fname is NULL. @@ -47,7 +48,7 @@ char_u *path_tail_with_sep(char_u *fname); /// /// @param fname A file path. (Must be != NULL.) /// @return Pointer to first found path separator + 1. -/// An empty string, if `fname` doesn't contain a path separator, +/// An empty string, if `fname` doesn't contain a path separator, char_u *path_next_component(char_u *fname); int vim_ispathsep(int c);