diff options
author | Grissiom <chaos.proton@gmail.com> | 2010-09-18 09:51:16 +0800 |
---|---|---|
committer | Grissiom <chaos.proton@gmail.com> | 2010-09-18 09:51:16 +0800 |
commit | c6372a1b3f56d7022f135b8f1baeaff44816ec7c (patch) | |
tree | 1e274b07fc1942d7f39d334771c7d621a164b15f /wildcard.h | |
parent | 41b8db063c032c673e366d81bccf37022b9c1d4f (diff) |
remove trailing spaces
This is done by `sed -i -e 's/[ \t]*$//' *.[c,h]`, which should not
introduce any functionality change.
Diffstat (limited to 'wildcard.h')
-rw-r--r-- | wildcard.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1,4 +1,4 @@ -/** \file wildcard.h +/** \file wildcard.h My own globbing implementation. Needed to implement this instead of using libs globbing to support tab-expansion of globbed @@ -39,7 +39,7 @@ enum ; /** - Expand the wildcard by matching against the filesystem. + Expand the wildcard by matching against the filesystem. New strings are allocated using malloc and should be freed by the caller. @@ -61,11 +61,11 @@ enum \param out The list in which to put the output \return 1 if matches where found, 0 otherwise. Return -1 on abort (I.e. ^C was pressed). - + */ -int wildcard_expand( const wchar_t *wc, - const wchar_t *base_dir, - int flags, +int wildcard_expand( const wchar_t *wc, + const wchar_t *base_dir, + int flags, array_list_t *out ); /** Test whether the given wildcard matches the string @@ -74,7 +74,7 @@ int wildcard_expand( const wchar_t *wc, \param wc The wildcard to test against \return true if the wildcard matched */ -int wildcard_match( const wchar_t *str, +int wildcard_match( const wchar_t *str, const wchar_t *wc ); @@ -88,7 +88,7 @@ int wildcard_has( const wchar_t *str, int internal ); */ int wildcard_complete( const wchar_t *str, const wchar_t *wc, - const wchar_t *desc, + const wchar_t *desc, const wchar_t *(*desc_func)(const wchar_t *), array_list_t *out, int flags ); |