xref: /illumos-gate/usr/src/tools/smatch/src/validation/restrict-array.c (revision cd61ae21816e53b94bc1673f3f1aa651fc3115e8)
1 #define __restrict_arr __restrict
2 
3 struct aiocb64;
4 struct sigevent;
5 
6 extern int lio_listio64 (int __mode,
7 			 struct aiocb64 *__const __list[__restrict_arr],
8 			 int __nent, struct sigevent *__restrict __sig);
9 
10 #undef __restrict_arr
11 #define __restrict_arr __restrict__
12 
13 struct gaicb;
14 
15 extern int getaddrinfo_a (int __mode, struct gaicb *__list[__restrict_arr],
16 			  int __ent, struct sigevent *__restrict __sig);
17 
18 #undef __restrict_arr
19 #define __restrict_arr restrict
20 
21 typedef struct re_pattern_buffer regex_t;
22 typedef int regoff_t;
23 typedef struct
24 {
25   regoff_t rm_so;  /* Byte offset from string's start to substring's start.  */
26   regoff_t rm_eo;  /* Byte offset from string's start to substring's end.  */
27 } regmatch_t;
28 typedef unsigned long int size_t;
29 
30 extern int regexec (const regex_t *__restrict __preg,
31 		    const char *__restrict __string, size_t __nmatch,
32 		    regmatch_t __pmatch[__restrict_arr],
33 		    int __eflags);
34 
35 /*
36  * check-name: restrict array attribute
37  */
38