summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2011-12-20 22:56:13 +0000
committereadler <eadler@FreeBSD.org>2011-12-20 22:56:13 +0000
commit2d67f772cb9e14a0ad6ac92f1eb072705aa1fb38 (patch)
tree776e3a64d9b347bde5def5ac4f12972e220505b0 /include
parent1d5050a94b01dd5fb04194a79908e299a3becc7d (diff)
downloadFreeBSD-src-2d67f772cb9e14a0ad6ac92f1eb072705aa1fb38.zip
FreeBSD-src-2d67f772cb9e14a0ad6ac92f1eb072705aa1fb38.tar.gz
- Add restrict keyword to glob(3)
PR: kern/161958 Submitted by: Henning Petersen <henning.petersen@t-online.de> Approved by: jilles MFC after: 3 days
Diffstat (limited to 'include')
-rw-r--r--include/glob.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/glob.h b/include/glob.h
index 351b6c4..073805b 100644
--- a/include/glob.h
+++ b/include/glob.h
@@ -98,7 +98,8 @@ typedef struct {
#endif /* __BSD_VISIBLE */
__BEGIN_DECLS
-int glob(const char *, int, int (*)(const char *, int), glob_t *);
+int glob(const char * __restrict, int,
+ int (*)(const char *, int), glob_t * __restrict);
void globfree(glob_t *);
__END_DECLS
OpenPOWER on IntegriCloud