summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/lib/libc/port/llib-lc7
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