diff options
author | Yuri Pankov <yuri.pankov@nexenta.com> | 2011-10-29 05:11:55 +0400 |
---|---|---|
committer | John Sonnenschein <johns@joyent.com> | 2011-11-04 00:07:42 +0000 |
commit | df232dc5692ee20ff82f109ddeb643b4aa06ec65 (patch) | |
tree | 73ae5b154dda66500c8dd9476a0f673fd2c36300 /usr/src | |
parent | 7a02d09938d1b3b738aaae71ff562ea3e3c4ca70 (diff) | |
download | illumos-joyent-df232dc5692ee20ff82f109ddeb643b4aa06ec65.tar.gz |
1678 libc lint library is missing definition for glob/globfree
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Albert Lee <trisk@opensolaris.org>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/lib/libc/port/llib-lc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/usr/src/lib/libc/port/llib-lc b/usr/src/lib/libc/port/llib-lc index 61a0d161ee..117009a044 100644 --- a/usr/src/lib/libc/port/llib-lc +++ b/usr/src/lib/libc/port/llib-lc @@ -21,6 +21,7 @@ /* * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright 2011 Nexenta Systems, Inc. All rights reserved. */ /* LINTLIBRARY */ @@ -45,6 +46,7 @@ #include <fmtmsg.h> #include <fnmatch.h> #include <ftw.h> +#include <glob.h> #include <getwidth.h> #include <grp.h> #include <iconv.h> @@ -1141,6 +1143,11 @@ int vsprintf(char *_RESTRICT_KYWD string, const char *_RESTRICT_KYWD format, * /usr/src/lib/libc/port/regex routines */ +/* glob.c */ +extern int glob(const char *restrict pattern, int flags, + int(*errfunc)(const char *epath, int eerrno), glob_t *restrict pglob); +extern void globfree(glob_t *pglob); + /* regex.c */ char *regex(const char *regexp, const char *stringp, ...); #ifdef __loc1 |