Commit 349f9da8 authored by Nicolas Hillegeer's avatar Nicolas Hillegeer Committed by Thiago de Arruda

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.
parent e772cfcc
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment