summaryrefslogtreecommitdiffstats
path: root/src/path_iter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/path_iter.h')
-rw-r--r--src/path_iter.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/path_iter.h b/src/path_iter.h
index b3b23e8..43eb8c9 100644
--- a/src/path_iter.h
+++ b/src/path_iter.h
@@ -6,7 +6,7 @@
#include "index_range.h"
-#include "zix/attributes.h"
+#include <zix/attributes.h>
typedef enum {
ZIX_PATH_ROOT_NAME,
@@ -20,12 +20,10 @@ typedef struct {
ZixPathIterState state;
} ZixPathIter;
-ZIX_PURE_FUNC
-ZixPathIter
+ZIX_PURE_FUNC ZixPathIter
zix_path_begin(const char* ZIX_NULLABLE path);
-ZIX_PURE_FUNC
-ZixPathIter
+ZIX_PURE_FUNC ZixPathIter
zix_path_next(const char* ZIX_NONNULL path, ZixPathIter iter);
#endif // ZIX_PATH_ITER_H