summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorkleink <kleink@NetBSD.org>2001-10-27 15:35:19 +0000
committerkleink <kleink@NetBSD.org>2001-10-27 15:35:19 +0000
commite281efeeaa903a094d38b44f9428bbd12a483b2f (patch)
tree2e5cf6804e6ddaa9568f715dc853d1944dc668e2 /include
parent546b6e4434553c6f54cc68a2fa23f5fa8f38cf8f (diff)
Sprinkle some __restrict into <glob.h>.
Diffstat (limited to 'include')
-rw-r--r--include/glob.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/glob.h b/include/glob.h
index fd7a352700f..c6ddddc0d27 100644
--- a/include/glob.h
+++ b/include/glob.h
@@ -1,4 +1,4 @@
-/* $NetBSD: glob.h,v 1.13 2001/03/16 21:02:42 christos Exp $ */
+/* $NetBSD: glob.h,v 1.14 2001/10/27 15:35:19 kleink Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -99,10 +99,12 @@ typedef struct {
__BEGIN_DECLS
#ifdef __LIBC12_SOURCE__
-int glob __P((const char *, int, int (*)(const char *, int), glob_t *));
+int glob __P((const char * __restrict, int,
+ int (* __restrict)(const char *, int), glob_t * __restrict));
void globfree __P((glob_t *));
#else
-int glob __P((const char *, int, int (*)(const char *, int), glob_t *))
+int glob __P((const char * __restrict, int,
+ int (* __restrict)(const char *, int), glob_t * __restrict))
__RENAME(__glob13);
void globfree __P((glob_t *)) __RENAME(__globfree13);
#endif