From 7a0eea11b481aa96c93a90000ff35d6bbce8b00b Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 18 Sep 2008 12:08:55 +0000 Subject: - remove non stdc path (old style definitions). No obj-code changes --- libc/misc/glob/glob.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'libc/misc/glob') 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) { -- cgit v1.2.3