aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNicolas Hillegeer <nicolas@hillegeer.com>2014-04-28 18:56:40 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-28 16:17:25 -0300
commit349f9da850fe46853663bff4ca199045a4678837 (patch)
treefcf63cc6c7436b64bbc1db68ef487367325b5b54 /src
parente772cfcc55878f82b5ab1358a10dcdca6c326e08 (diff)
downloadrneovim-349f9da850fe46853663bff4ca199045a4678837.tar.gz
rneovim-349f9da850fe46853663bff4ca199045a4678837.tar.bz2
rneovim-349f9da850fe46853663bff4ca199045a4678837.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/path.h5
1 files 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);