1 /*
2  * $FreeBSD$
3  */
4 
5 #include <sys/types.h>
6 #include <sys/stdint.h>
7 
8 struct s1 {
9 	int32_t		f1_int;
10 	char		*f2_str;
11 	short		f3_short;
12 	uint64_t	f4_uint64;
13 	intmax_t	f5_intmax;
14 	void*		f6_ptr;
15 };
16 
17 struct s2 {
18 	char		f1_buf[30];
19 	struct s1	*f2_s1;
20 };
21 
22 struct s3 {
23 	struct s1	f1_s1;
24 	uint32_t	f2_int32;
25 };
26 
27 int	func1(int a, int b);
28 int	func2(int64_t a, uint64_t b);
29 void	func3(struct s1 *s);
30 void	func4(struct s1 s);
31 int	func5(int a, void *b, struct s2 *s);
32 int	func6(char a, struct s3 *s);
33 
34 int
35 func1(int a, int b)
36 {
37 	return (a - b);
38 }
39 
40 int
41 func2(int64_t a, uint64_t b)
42 {
43 	return (a - b);
44 }
45 
46 void
47 func3(struct s1 *s)
48 {
49 }
50 
51 void
52 func4(struct s1 s)
53 {
54 }
55 
56 int
57 func5(int a, void *b, struct s2 *s)
58 {
59 	return (0);
60 }
61 
62 int
63 func6(char a, struct s3 *s)
64 {
65 	return (0);
66 }
67