summaryrefslogtreecommitdiff
path: root/xs_glob.h
diff options
context:
space:
mode:
Diffstat (limited to 'xs_glob.h')
-rw-r--r--xs_glob.h6
1 files changed, 3 insertions, 3 deletions
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 <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)
/* 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;