Deleted Added
full compact
53c53
< static int find_compare(const FTSENT **s1, const FTSENT **s2);
---
> static int find_compare __P((const FTSENT **s1, const FTSENT **s2));
55a56,68
> * find_compare --
> * tell fts_open() how to order the traversal of the hierarchy.
> * This variant gives lexicographical order in each directory.
> */
> static int
> find_compare(s1, s2)
> const FTSENT **s1, **s2;
> {
>
> return (strcoll((*s1)->fts_name, (*s2)->fts_name));
> }
>
> /*
147,158d159
< * find_compare --
< * A function which be used in fts_open() to order the
< * traversal of the hierarchy.
< * This function give you a lexicographical sorted output.
< */
< static int find_compare(s1, s2)
< const FTSENT **s1, **s2;
< {
< return strcoll( (*s1)->fts_name, (*s2)->fts_name );
< }
<
< /*
172,173c173,174
< if ((tree = fts_open(paths, ftsoptions,
< (issort ? find_compare : NULL) )) == NULL)
---
> tree = fts_open(paths, ftsoptions, (issort ? find_compare : NULL));
> if (tree == NULL)