diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2011-12-20 22:56:13 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2011-12-20 22:56:13 +0000 |
commit | 0d6d372c033b26cfd543895c22b433bb91156f58 (patch) | |
tree | 776e3a64d9b347bde5def5ac4f12972e220505b0 /include/glob.h | |
parent | bca5071ff07ac7a303f3a313a53cf38406881d32 (diff) | |
download | src-test2-0d6d372c033b26cfd543895c22b433bb91156f58.tar.gz src-test2-0d6d372c033b26cfd543895c22b433bb91156f58.zip |
- 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
Notes
Notes:
svn path=/head/; revision=228754
Diffstat (limited to 'include/glob.h')
-rw-r--r-- | include/glob.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/glob.h b/include/glob.h index 351b6c46bbb6..073805bc083b 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 |