From 876bebd9ac904ca930117237edaf8c3dcae7a922 Mon Sep 17 00:00:00 2001 From: default Date: Sat, 28 Jan 2023 17:49:02 +0100 Subject: Backport from xs. --- xs_glob.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xs_glob.h') diff --git a/xs_glob.h b/xs_glob.h index 795abd9..2da3729 100644 --- a/xs_glob.h +++ b/xs_glob.h @@ -4,7 +4,7 @@ #define _XS_GLOB_H -d_char *xs_glob_n(const char *spec, int basename, int reverse, int max); +xs_list *xs_glob_n(const char *spec, int basename, int reverse, int max); #define xs_glob(spec, basename, reverse) xs_glob_n(spec, basename, reverse, XS_ALL) @@ -12,11 +12,11 @@ d_char *xs_glob_n(const char *spec, int basename, int reverse, int max); #include -d_char *xs_glob_n(const char *spec, int basename, int reverse, int max) +xs_list *xs_glob_n(const char *spec, int basename, int reverse, int max) /* does a globbing and returns the found files */ { glob_t globbuf; - d_char *list = xs_list_new(); + xs_list *list = xs_list_new(); if (glob(spec, 0, NULL, &globbuf) == 0) { int n; -- cgit v1.2.3