diff options
Diffstat (limited to 'src/glob/globfree.c')
| -rw-r--r-- | src/glob/globfree.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/glob/globfree.c b/src/glob/globfree.c deleted file mode 100644 index c9e6dc1a..00000000 --- a/src/glob/globfree.c +++ /dev/null @@ -1,30 +0,0 @@ -#if 0 - -#include <sys/types.h> -#include <glob.h> -#include <stdlib.h> - -void globfree(glob_t * pglob) -{ - size_t i; - - if (pglob == NULL) { - return; - } - - for (i = 0; i < pglob->gl_pathc; i++) { - if (pglob->gl_pathv[i] != NULL) { - free(pglob->gl_pathv[i]); - } - } - - free(pglob); -} - -/* -POSIX(2) -*/ - - - -#endif |
