summaryrefslogtreecommitdiff
path: root/libc/misc/glob
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-18 12:08:55 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-18 12:08:55 +0000
commit7a0eea11b481aa96c93a90000ff35d6bbce8b00b (patch)
tree557b81cec4b0900f5c3e162f10b2e45654b0d263 /libc/misc/glob
parent531728a58a55ceb4b99fad86011654bd33827b67 (diff)
- remove non stdc path (old style definitions). No obj-code changes
Diffstat (limited to 'libc/misc/glob')
-rw-r--r--libc/misc/glob/glob.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/libc/misc/glob/glob.c b/libc/misc/glob/glob.c
index 8d3e3c450..6ccbda4d7 100644
--- a/libc/misc/glob/glob.c
+++ b/libc/misc/glob/glob.c
@@ -504,11 +504,11 @@ libc_hidden_proto(globfree)
If memory cannot be allocated for PGLOB, GLOB_NOSPACE is returned.
Otherwise, `glob' returns zero. */
int
-glob (pattern, flags, errfunc, pglob)
- const char *pattern;
- int flags;
- int (*errfunc) (const char *, int);
- glob_t *pglob;
+glob (
+ const char *pattern,
+ int flags,
+ int (*errfunc) (const char *, int),
+ glob_t *pglob)
{
const char *filename;
const char *dirname;
@@ -1074,8 +1074,7 @@ libc_hidden_def(glob)
/* Free storage allocated in PGLOB by a previous `glob' call. */
void
-globfree (pglob)
- register glob_t *pglob;
+globfree (register glob_t *pglob)
{
if (pglob->gl_pathv != NULL)
{